Run Live Demo

Elasticsearch Configuration

  1. Download and install Elasticsearch 7.3.2 – the install will create and start an Elasticsearch service. If you are installing on Windows, download the MSI version.
  2. Make a backup copy of elasticsearch.yml and open the file in a text editor.
  3. Add the “cluster.initial_master_nodes: node-1” line to end of the file.
  4. Restart the Elasticsearch service.
  5. 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”
    }
  6. 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. Add 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”.
    4. Restart the Elasticsearch service.
    5. Verify that you can reach the Elasticsearch status page from a different server – in our example, at: http://elasticsearch.company.com:9200

Top
Kibana Configuration