UC

In order to get past the dreaded message: 

 

Expected Elasticsearch version range > 1.0.0 < 2.0.0
ERROR: Incompatible with version 2.0.0 of Elasticsearch.  Exiting.

 

vi curator/cli/utils.py, and replace:

# Elasticsearch versions supported
version_max  = (2, 0, 0)
 
With:
 
# Elasticsearch versions supported
version_max  = (3, 0, 0)

 

I wanted to add the logging from our Elasticsearch server nodes to our syslog (logstash) server.

So, just add the following to your /etc/elasticsearch/logging.yml

 

 

rootLogger: ${es.logger.level}, console, file, syslog

appender:

syslog:

type:

syslog # Remember UDP port only

syslogHost: localhost:1513

facility: local3

layout:

type: pattern

#conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

conversionPattern: "%d{MMM d HH:mm:ss} localhost elasticsearch: %m"

 

 

Restart your Elasticsearch server Done ;)