Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

DEPRECATED

The information below is either outdated, or no longer considered best practice at Kalamuna.

...

  1. Install the elasticsearch_connector module.

  2. Enable the elasticsearch_connector_easy_install module; this will include all the required libraries. Alternatively, you can install these libraries in sites/all/libraries as normal.

  3. Enable elasticsearch_connector and elasticsearch_watchdog.

  4. Configure the connection to your elasticsearch cluster at admin/config/elasticsearch-connector/clusters/add

    1. Remember to have the port on the end of the URL (don't be scared if the "processing" symbol stays up for a while or if you get an AJAX error; that just means something is wrong with your URL and it will need to be re-entered)

    2. Remember to insert HTTP Basic Auth credentials (or other authentication)

  5. Configure the watchdog settings: admin/config/elasticsearch-connector/watchdog

    1. Select the cluster you just connected to

    2. Add an index

      1. Number of Shards/Replicas: I set 2 shards and 2 replicas to experiment, see this post for a decent guide on what these terms mean.

      2. If you're having trouble adding through the modal, you can go to the index management screen (which conveniently isn't on the menu structure for the elasticsearch_connector module): admin/config/elasticsearch-connector/clusters/[CLUSTER_NAME]/indices

  6. Log into Qbox, go to your cluster, and click on "View data with Kibana" or use the "Monitor with royrusso/elasticsearch-HQ" link to see if entries are being created as you browse pages on your Drupal site that would generate log entries.

...