Installation
Also available as:
PDF
loading table of contents...

Creating an HCP Global.json File

The Global.json file lets Metron know where things are.

To create the Global.json file, complete the following steps:

  1. Create a file called $METRON_HOME/config/zookeeper/global.json.

    touch /usr/metron/1.0.0.1.0.0.0-52/config/zookeeper/global.json
  2. Populate the file with the following information:

    {
      "es.clustername": "{{ elasticsearch_cluster_name }}",
      "{{es_master_host}}": "{{ groups.search[0] }}",
      "es.port": "{{ elasticsearch_transport_port }}",
      "es.date.format": "yyyy.MM.dd.HH"
    }

    where

    es.clustername

    This should be metron.

    es_master_host

    This can be either an IP address or a host name.

    es.port

    The Elasticsearch port. Default is 9300.

    es.data.format

    The data format used by Elasticsearch. You can leave this format as is.