Elasticsearch Configuration

  1. Install Java 8.
  2. Download and install Elasticsearch 6.5.4 – the install will create and start an Elasticsearch service.
  3. Verify Elasticsearch is operational by viewing its web server status at http://localhost:9200. The status page should be similar to:
    “name” : “KIBANA”,
    “cluster_name” : “elasticsearch”,
    “cluster_uuid” : “UurjjM4OSSWtrKcjzb8wwg”,
    “version” : {
    “number” : “6.5.1”,
    “build_flavor” : “unknown”,
    “build_type” : “unknown”,
    “build_hash” : “8c58350”,
    “build_date” : “2018-11-16T02:22:42.182257Z”,
    “build_snapshot” : false,
    “lucene_version” : “7.5.0”,
    “minimum_wire_compatibility_version” : “5.6.0”,
    “minimum_index_compatibility_version” : “5.0.0”
    “tagline” : “You Know, for Search”
  4. If Longitude and Elasticsearch are installed on different servers then Elasticsearch will need to be configured to use a network address as follows:
    1. By default the Elasticsearch configuration files in Windows are written to c:\ProgramData\Elastic\Elasticsearch\config. If this directory does not exist, run:
      echo %ES_PATH_CONF%

      to get the location of the Elasticsearch configuration files. Please note that depending on your File Browser settings the ProgramData directory may be hidden.

    2. Make a backup copy of elasticsearch.yml and open the file in a text editor.
    3. Edit the “node.name” field to be your server name.
    4. Edit the “network.host” field to be the network address for your Elasticsearch server. This will be the address used in the URL to contact Elasticsearch – for example: “elasticsearch.company.com”.
    5. Restart the Elasticsearch service.
    6. Verify that you can reach the Elasticsearch status page from a different server – in our example, at: http://elasticsearch.company.com:9200

Kibana Configuration