Skip to content

Elasticsearch

CEDAR uses Elasticsearch to make search for artifacts possible.

Install Elasticsearch

Please install Elasticsearch, version 6.8:

brew install elasticsearch@6.8

And pin this version:

brew pin elasticsearch@6.8
Important

Do not add Elasticsearch as a background service! We will have scripts in place which will start it when necessary.

Do not start Elasticsearch at this point!

Configure Elasticsearch

vi /usr/local/etc/elasticsearch/elasticsearch.yml

Around line #17, change the cluster name configuration:

cluster.name: elasticsearch_cedar

Start Elasticsearch

startelastic

Check Elasticsearch status

cedarss

You should see the following lines in the output:

| Elasticsearch-REST         | Running | httpResponse| 9200| HTTP/1.1\s200\sOK |
| Elasticsearch-Transport    | Running | openPort    | 9300|                   |

Install Kibana

Kibana can be used to interact with Elasticsearch.

Please install Elasticsearch, version 6.8:

brew install kibana@6.8

And pin this version:

brew pin kibana@6.8

Start Kibana

startkibana

Check Kibana status

cedarss

You should see the following lines in the output:

| --- Monitoring ------------|         |             |     |                   |
| Kibana                     | Running | httpResponse| 5601| kbn-name:\skibana |