I'm using elasticsearch to index a 12 mb log file. I've indexed the log file and then installed the trial version of x-pack to give it a try.
and then my elasticsearch status turned to red. Please have a look at the screenshot
wild guess here: Is it possible you ran out of diskspace or you are almost at capacity. When this happens, Elasticsearch puts some indices into read-only mode. You need to allow them to be written first. Note: This is not an x-pack feature, but an Elasticsearch one.
Good guess I would say. I just increased the diskspace as it's almost full.
As you said I'm not able to write to some indices and I'm not sure how to change the mode. Anyway I'm not able to access kibana to execute it through dev tools. so I tried with curl but I'm not able to do it.
response from curl: AuthenticationException[Missing authentication token]
The documentation link has a full blown example how to solve this. The error message you are getting is because you enabled security and thus you have to provide a username and a password (or you just log into kibana and do it from there).
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.