# graylog\_Index\_error

**URL:** <https://community.graylog.org/t/graylog-index-error/20202>\
**Category:** Graylog Central (peer support)\
**Created:** [June 17, 2021, 7:25am UTC](https://community.graylog.org/t/graylog-index-error/20202 "2021-06-17T07:25:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kvenkat971](https://avatars.discourse-cdn.com/v4/letter/k/dbc845/32.png) [@kvenkat971](https://community.graylog.org/u/kvenkat971)\
**Post date:** [June 17, 2021, 7:25am UTC](https://community.graylog.org/t/graylog-index-error/20202/1 "2021-06-17T07:25:07Z")

</div>

Hi,

We recently had a power outage in our office and since the reboot, Graylog is throwing the below error  
I tried recalculating the index manually and even rotated the active write index manually no luck can someone help me on this if they had any similar problem?

Index not found for query: graylog\_0. Try recalculating your index ranges.  
at org.graylog2.indexer.cluster.jest.JestUtils.buildIndexNotFoundException(JestUtils.java:134) ~[graylog.jar:?]  
at org.graylog2.indexer.cluster.jest.JestUtils.specificException(JestUtils.java:96) ~[graylog.jar:?]  
at org.graylog2.indexer.cluster.jest.JestUtils.execute(JestUtils.java:60) ~[graylog.jar:?]  
at org.graylog2.indexer.cluster.jest.JestUtils.execute(JestUtils.java:65) ~[graylog.jar:?]  
at org.graylog.events.search.MoreSearch.scrollQuery(MoreSearch.java:273) ~[graylog.jar:?]  
at org.graylog.events.processor.aggregation.AggregationEventProcessor.filterSearch(AggregationEventProcessor.java:210) ~[graylog.jar:?]  
at org.graylog.events.processor.aggregation.AggregationEventProcessor.createEvents(AggregationEventProcessor.java:121) ~[graylog.jar:?]  
at org.graylog.events.processor.EventProcessorEngine.execute(EventProcessorEngine.java:92) ~[graylog.jar:?]

---

<div class="post-metadata">

**Author:** ![gsmith](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gsmith/32/1222_2.png) [@gsmith](https://community.graylog.org/u/gsmith)\
**Post date:** [June 17, 2021, 7:37am UTC](https://community.graylog.org/t/graylog-index-error/20202/2 "2021-06-17T07:37:08Z")

</div>

Hello,

@kvenkat971

Maybe I can help.

> [@kvenkat971](#):
>
> Index not found for query: graylog\_0

What do you get after executing these?

> curl [http://localhost:9200/\_cat/indices](http://localhost:9200/_cat/indices)

If there is a problem execute this and it should tell you whats wrong.

> curl -XGET [http://localhost:9200/\_cluster/allocation/explain?pretty](http://localhost:9200/_cluster/allocation/explain?pretty)

Hope that helps

---

<div class="post-metadata">

**Author:** ![kvenkat971](https://avatars.discourse-cdn.com/v4/letter/k/dbc845/32.png) [@kvenkat971](https://community.graylog.org/u/kvenkat971)\
**Post date:** [June 18, 2021, 6:20am UTC](https://community.graylog.org/t/graylog-index-error/20202/3 "2021-06-18T06:20:56Z")

</div>

> [@gsmith](#):
>
> curl -XGET [http://localhost:9200/\_cluster/allocation/explain?pretty](http://localhost:9200/_cluster/allocation/explain?pretty)

I got the output for the cat indices and I can’t see graylog\_0 in their

This is the output for the second command  
{  
“index” : “filebeat-6.1.1-2018.06.28”,  
“shard” : 2,  
“primary” : false,  
“current\_state” : “unassigned”,  
“unassigned\_info” : {  
“reason” : “CLUSTER\_RECOVERED”,  
“at” : “2021-06-17T07:19:34.913Z”,  
“last\_allocation\_status” : “no\_attempt”  
},  
“can\_allocate” : “no”,  
“allocate\_explanation” : “cannot allocate because allocation is not permitted to any of the nodes”,  
“node\_allocation\_decisions” : [  
{  
“node\_id” : “AWg1Gxp1QraOR4CZrc3cNg”,  
“node\_name” : “AWg1Gxp”,  
“transport\_address” : “_._._._:9300”,  
“node\_decision” : “no”,  
“deciders” : [  
{  
“decider” : “same\_shard”,  
“decision” : “NO”,  
“explanation” : “the shard cannot be allocated to the same node on which a copy of the shard already exists [[filebeat-6.1.1-2018.06.28][2], node[AWg1Gxp1QraOR4CZrc3cNg], [P], s[STARTED], a[id=ztWVQI-PSE25GIiwYZkE9A]]”  
}  
]  
}  
]  
}

---

<div class="post-metadata">

**Author:** ![kvenkat971](https://avatars.discourse-cdn.com/v4/letter/k/dbc845/32.png) [@kvenkat971](https://community.graylog.org/u/kvenkat971)\
**Post date:** [June 18, 2021, 6:24am UTC](https://community.graylog.org/t/graylog-index-error/20202/4 "2021-06-18T06:24:42Z")

</div>

looks like the problem got fixed, I can see the logs on the dashboard now, not sure what happened though

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [July 2, 2021, 6:25am UTC](https://community.graylog.org/t/graylog-index-error/20202/5 "2021-07-02T06:25:32Z")

</div>

Closed on July 2, 2021, 6:25am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
