Hello, I am installing the new ES and i keep recieving these errors on start.
main ERROR Null object returned for RollingFile in Appenders.
Oct 31 19:01:40 elasticsearch[18779]: 2016-10-31 19:01:40,165 main ERROR Null object returned for RollingFile in Appenders.
Oct 31 19:01:40 elasticsearch[18779]: 2016-10-31 19:01:40,165 main ERROR Null object returned for RollingFile in Appenders.
Oct 31 19:01:40 elasticsearch[18779]: 2016-10-31 19:01:40,166 main ERROR Unable to locate appender "index_indexing_slowlog_rolling" for logger config "index.indexing.slowlog.index"
Oct 31 19:01:40 elasticsearch[18779]: 2016-10-31 19:01:40,166 main ERROR Unable to locate appender "audit_rolling" for logger config "org.elasticsearch.xpack.security.audit.logfile.LoggingAuditTrail"
Oct 31 19:01:40 elasticsearch[18779]: 2016-10-31 19:01:40,166 main ERROR Unable to locate appender "index_search_slowlog_rolling" for logger config "index.search.slowlog"
How did you install ES and how did you start it? If you used the rpm or deb make sure you use systemd or the init script or you might end up with weird, weird, paths breaking things.
I have the exact same error (after wiping my virtual board clean and starting over with ver 5)
If I comment out this line from my elasticsearch.yml file
: action.auto_create_index: .security,.monitoring*,.watches,.triggered_watches,.watcher-history*
Since my error mimics teh OP's I think it'd be best to keep the info close by. Here's a tail of journalctl -f when i start elasticsearch. It's wordy so be warned.
I did just find that typo. blasted fat fingers I fixed that, stopped then restarted ES to no avail. Different error now though so maybe OP typo'd the yml.
Maybe you can share the output as a gist or pastebin? Also, can you provide your elasticsearch.yml (stripping any sensitive info) and any modifications made to the logging file?
Do you have x-pack installed? The original output included x-pack items but that is nowhere to be found in the information you've provided.
Also, it appears that there is both /etc/elasticsearch and /usr/share/elasticsearch/config. Which file are you editing? Did you install different ways or copy files around?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.