Hi Arief, please post the output of the following command:
curl http://localhost:9200/_cat/indices?v Also take into account, that if you're running the OVA with only 1 Elasticsearch node, the cluster health status will never get GREEN because it's configured to use 1 replica shard by default, which simply cannot be placed on the same node. Cheers, Jochen On Tuesday, 12 July 2016 07:54:43 UTC+2, Arief Hydayat wrote: > > Hi Marcus, > > Thanks a lot. Been few days trying and it was my bad. Suppose to be I > change the localhost with the specific IP that I've been setup. > the curl command that you given it's work now and I can get the return > value of those command. > > From the curl http://localhost:9200/_cat/indices command I can see: > > > > > > > *yellow open graylog_8 4 1 13715099 0 5.2gb 5.2gbyellow open graylog_7 4 1 > 20001845 0 7.4gb 7.4gbyellow open graylog_6 4 1 20003032 0 7.3gb > 7.3gbyellow open graylog_5 4 1 20000307 0 6.9gb 6.9gbyellow open graylog_4 > 4 1 20002381 0 7.4gb 7.4gbyellow open graylog_3 4 1 20001081 0 7.2gb 7.2gb* > > I've tried to delete some older indices thru webinterface as your > mentioned but the status still yellow. If we delete all the indices and > remain the current indices which is running what will happen anyway? > > > On Wednesday, June 29, 2016 at 3:21:41 PM UTC+8, Marcus Franke wrote: >> >> Hi, >> >> there are some REST API endpoints in elasticsearch you can check: >> >> General Overview: >> curl 'http://localhost:9200/_cluster/health?pretty=true' >> >> Overview over your indices: >> curl http://localhost:9200/_cat/indices >> >> This will list you the index that is red, I guess not enough diskspace >> and thus >> unallocated shards. I had the same problem. >> >> >> https://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-indices.html >> >> My problem was the newly created deflector index could not be allocated, >> I deleted >> some older indices from the graylog webinterface and curl'ed the >> unallocated >> index away: >> >> curl -XDELETE http://localhost:9200/graylog2_1234/ >> >> that particular index was created again, as my current deflector was >> _full_ >> and everything was fine again. Now I have a tighter look on the diskspace >> of my ES nodes. >> >> >> Greetings, >> Marcus >> > -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/432e4314-3c20-41e6-a818-42bfd40f59b0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
