# Edit Index Set "t.state is null" in Graylog 4.3.3

**URL:** <https://community.graylog.org/t/edit-index-set-t-state-is-null-in-graylog-4-3-3/24721>\
**Category:** Graylog Central (peer support)\
**Created:** [July 11, 2022, 2:19pm UTC](https://community.graylog.org/t/edit-index-set-t-state-is-null-in-graylog-4-3-3/24721 "2022-07-11T14:19:35Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![rfinney](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/rfinney/32/961_2.png) [@rfinney](https://community.graylog.org/u/rfinney)\
**Post date:** [July 11, 2022, 2:19pm UTC](https://community.graylog.org/t/edit-index-set-t-state-is-null-in-graylog-4-3-3/24721/1 "2022-07-11T14:19:35Z")

</div>

After the upgrade to Graylog 4.3.3 from the previous Graylog 4.3.x release, I’m now seeing an error when clicking “Edit Index Set” from within the Index Set Overview.

System / Indices \> Indices \> Default \> Edit Index Set.

 ![Screenshot from 2022-07-11 10-02-21](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/8/89f594786ffa47de8f5abca063896e985d71d63a.png)  
 ![Screenshot from 2022-07-11 10-02-27](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/d/d50910d1f9cedb08245fba2da994cf15b16158f2.jpeg)

```auto
t.state is null

Stack Trace:

tKuYkRBm/f/T<@https://graylog.company.com/assets/6e13caea-6379.0a4a09e420f2da7e1b11.js:1:2579
value@https://graylog.company.com/assets/6e13caea-6379.0a4a09e420f2da7e1b11.js:1:4003
Ha@https://graylog.company.com/assets/vendor.3b152b3d9c1d8273aa7e.js:2:804869
Ra@https://graylog.company.com/assets/vendor.3b152b3d9c1d8273aa7e.js:2:804664
Ls@https://graylog.company.com/assets/vendor.3b152b3d9c1d8273aa7e.js:2:840162
Mc@https://graylog.company.com/assets/vendor.3b152b3d9c1d8273aa7e.js:2:831638
mc@https://graylog.company.com/assets/vendor.3b152b3d9c1d8273aa7e.js:2:831561
sc@https://graylog.company.com/assets/vendor.3b152b3d9c1d8273aa7e.js:2:828591
4448/Qo/<@https://graylog.company.com/assets/vendor.3b152b3d9c1d8273aa7e.js:2:780339
4203/exports.unstable_runWithPriority@https://graylog.company.com/assets/vendor.3b152b3d9c1d8273aa7e.js:2:855639
Ko@https://graylog.company.com/assets/vendor.3b152b3d9c1d8273aa7e.js:2:780048
Qo@https://graylog.company.com/assets/vendor.3b152b3d9c1d8273aa7e.js:2:780286
Go@https://graylog.company.com/assets/vendor.3b152b3d9c1d8273aa7e.js:2:780219
nc@https://graylog.company.com/assets/vendor.3b152b3d9c1d8273aa7e.js:2:825376
enqueueSetState@https://graylog.company.com/assets/vendor.3b152b3d9c1d8273aa7e.js:2:784004
2408/y.prototype.setState@https://graylog.company.com/assets/vendor.3b152b3d9c1d8273aa7e.js:2:941707
b/6pmtOr/S/value/this.unsubscribes</<@https://graylog.company.com/assets/app.7ddb9a959f4b4a7857aa.js:2:681862
n@https://graylog.company.com/assets/vendor.3b152b3d9c1d8273aa7e.js:2:949206
6729/o.prototype.emit@https://graylog.company.com/assets/vendor.3b152b3d9c1d8273aa7e.js:2:49834
trigger@https://graylog.company.com/assets/vendor.3b152b3d9c1d8273aa7e.js:2:950087
+UTXcIS+/f</loadRotationStrategies/<@https://graylog.company.com/assets/6e13caea-6379.0a4a09e420f2da7e1b11.js:1:5969

Component Stack:

    in f
    in Unknown
    in Unknown
    in ConnectStoresWrapper[Unknown/Anonymous] stores=indexSets,indicesConfigurations
    in n
    in t
    in t
    in div
    in t
    in PageContentLayout__StyledGrid
    in s
    in div
    in PageContentLayout__Container
    in E
    in t
    in t
    in div
    in App__PageContent
    in i
    in jt
    in div
    in App__AppLayout
    in m
    in an
    in t
    in t
    in o
    in t
    in it
    in Unknown
    in ConnectStoresWrapper[Unknown/Anonymous] stores=streams
    in _t
    in De
    in z
    in Et
    in Rt
    in It
    in bt
    in Pt
    in Ot
    in c
    in Yt
    in Lt
    in n
    in ee
    in De
    in z
    in ge

```

Please note that clicking “Edit” on the index from the “Indices & Index Sets” page still works correctly.

Our setup is as follows:

3 graylog VMs running Graylog and Mongodb  
Centos 7  
Graylog 4.3.3+86369d3  
openjdk version "1.8.0\_332

Nginx reverse proxy in front of Graylog.  
HA proxy balancing in front of that.

5 elasticsearch VM nodes  
Centos 7  
elasticsearch 7.10.0

---

<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:** [July 11, 2022, 10:48pm UTC](https://community.graylog.org/t/edit-index-set-t-state-is-null-in-graylog-4-3-3/24721/2 "2022-07-11T22:48:48Z")

</div>

Hello @rfinney

I just update my Graylog server 4.3.2 → 4.3.3. I restart graylog service and tailed log file. I don’t have Nginx nor 3 GL/Mongo Servers. No errors were show in the log files, But I must mention before I restart Graylog-service my frontend crash after refreshing the browser tab, hence why I restart Graylog services.

Can I ask what have you tried already?  
What does Elasticsearch/Graylog log file show?  
Did you execute the basic checks (i.e. Firewall, Selinux, permissions, etc…)  
Are there any outdated plugins?

---

<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:** [July 11, 2022, 11:06pm UTC](https://community.graylog.org/t/edit-index-set-t-state-is-null-in-graylog-4-3-3/24721/3 "2022-07-11T23:06:57Z")

</div>

@rfinney

Ok maybe I should have waited, I just found something out.

I can edit the index on this page.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/4/413d5eb6ebf3972974157fc3302a7cf5a513a0a8.png)

Results.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/4/41b897e91f1ce71f3a19c7a15216b5503d9b670d.png)

BUT I can not on this page.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/2/2c1a413943d2c356cad6cd9907a2e30a1958ebed.png)

And I receive this error.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/a/a0421e4187cc053d658d0e5fa3702245c1b3d067.jpeg)

Looks like this issue.

> <https://github.com/Graylog2/graylog2-server/issues/12997>
>
> Clicking on "Edit Index Set" on the detail page of an index leads to a "Loading …component failed: Cannot read properties of null (reading 'indexSet')" error in the latest SNAPSHOT version. (see video)
> Clicking on "Edit" in the index set list works.
> 
> \## Steps to Reproduce (for bugs)
> 1. List index sets
> 2. Click on any index set
> 3. Click on "Edit Index Set"
> 
> https://user-images.githubusercontent.com/33032967/177190780-15230ea2-c2b5-4ef1-968c-a984fb1b4b67.mov
> !\[Bildschirmfoto 2022-07-04 um 18 08 13\](https://user-images.githubusercontent.com/33032967/177190795-db5c7480-0daf-47bf-82b6-be76b17fa232.png)
> 
> \## Your Environment
> Latest GL Snapshot (locally & smd), bug not reproducible in 4.3

I check both logs ES & GL nothing. I’m still labbing this out.

EDIT: Yeah looks like a bug man. I should have been more thorough before posting.

---

<div class="post-metadata">

**Author:** ![benoitp](https://avatars.discourse-cdn.com/v4/letter/b/c4cdca/32.png) [@benoitp](https://community.graylog.org/u/benoitp)\
**Post date:** [July 13, 2022, 8:01am UTC](https://community.graylog.org/t/edit-index-set-t-state-is-null-in-graylog-4-3-3/24721/4 "2022-07-13T08:01:18Z")

</div>

Hello,

On my side i cannot reproduce the issue with theses versions :

**OS** : Rocky Linux 8.6

- graylog-server-4.3.3-1.noarch
- mongodb-org-4.4.15-1.el8.x86\_64
- elasticsearch-7.10.2-1.x86\_64
- java-17-openjdk-headless-17.0.3.0.7-2.el8\_6.x86\_64

---

<div class="post-metadata">

**Author:** ![runste](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/runste/32/4404_2.png) [@runste](https://community.graylog.org/u/runste)\
**Post date:** [July 14, 2022, 8:05pm UTC](https://community.graylog.org/t/edit-index-set-t-state-is-null-in-graylog-4-3-3/24721/5 "2022-07-14T20:05:11Z")

</div>

I also have this issue.

At the same time I see another issue. If I create a new Index, it looks like its created ok in Graylog. But in System / Overview I get the following error :  
_“Could not retrieve Elasticsearch cluster health. Fetching Elasticsearch cluster health failed: There was an error fetching a resource: Internal Server Error. Additional information: Couldn’t read Elasticsearch cluster health”_

If I check with curl -X GET “localhost:9200/\_cluster/health?pretty” it looks like a green status.  
But the newly created Index do not work.

Graylog 4.3.3-1  
Elasticsearch 7.10.2-1

Can you check if you can create new indexes without getting the same error as me?

If i check indicies with curl [http://localhost:9200/\_aliases](http://localhost:9200/_aliases) , it is not visible. So it looks like the new index fails to be created in Elasticsearch afaikt.

Anyone with any tip to help me out?

//rune

---

<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:** [July 14, 2022, 9:54pm UTC](https://community.graylog.org/t/edit-index-set-t-state-is-null-in-graylog-4-3-3/24721/6 "2022-07-14T21:54:32Z")

</div>

@runste  
Answer to your question is yes I can create a new index. No issues  
Example:  
Index Created:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/5/5360ffdc99554df7023233c103691e780ec56052.png)

View Index

 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/d/d6ce4caeb3a0285ecd8f8c3e703975433e76b985.png)

Click Edit Index Set button in the upper right-side. I receive this.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/d/d70eb617442aa4accf313bbdfa78501649caf45f.jpeg)

Which lead me here.

> <https://stackoverflow.com/questions/42436114/javascript-uncaught-typeerror-cannot-read-property-indexof-of-null>

Now here is the weird part. In **System/Indices** if I click on the “Edit” button from my example above. I receive this. It seams that if I’m **not within the index set** I can edit the index.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/c/ccde1cefc9b060a89d40869b3e159ee97078a091.png)

---

<div class="post-metadata">

**Author:** ![rfinney](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/rfinney/32/961_2.png) [@rfinney](https://community.graylog.org/u/rfinney)\
**Post date:** [July 19, 2022, 12:28pm UTC](https://community.graylog.org/t/edit-index-set-t-state-is-null-in-graylog-4-3-3/24721/7 "2022-07-19T12:28:24Z")

</div>

Have you tried rotating an active write index? When I do, nothing happens. No new index is created. Haven’t found anything in the logs yet.

---

<div class="post-metadata">

**Author:** ![runste](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/runste/32/4404_2.png) [@runste](https://community.graylog.org/u/runste)\
**Post date:** [July 20, 2022, 7:27am UTC](https://community.graylog.org/t/edit-index-set-t-state-is-null-in-graylog-4-3-3/24721/8 "2022-07-20T07:27:29Z")

</div>

I found this : [https://www.reddit.com/r/graylog/comments/vy8sea/elasticsearch\_cluster\_warning/](https://www.reddit.com/r/graylog/comments/vy8sea/elasticsearch_cluster_warning/)  
This solved my issue with the creation of new index. I had 1000 shards, and when I delete some old unused indexes I got down to about 880. Then I could create the new Index withtout getting the error.

Still have the same issue as OP with only beeing able to edit index from overview page, and not if Im on one index.

//rune

---

<div class="post-metadata">

**Author:** ![rfinney](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/rfinney/32/961_2.png) [@rfinney](https://community.graylog.org/u/rfinney)\
**Post date:** [July 20, 2022, 12:13pm UTC](https://community.graylog.org/t/edit-index-set-t-state-is-null-in-graylog-4-3-3/24721/9 "2022-07-20T12:13:02Z")

</div>

That’s strange. Having 1000 shards shouldn’t be an issue if your system can handle it. I have 1677 active primary shards and 4998 active shards total. Never had this issue before.

---

<div class="post-metadata">

**Author:** ![rfinney](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/rfinney/32/961_2.png) [@rfinney](https://community.graylog.org/u/rfinney)\
**Post date:** [July 20, 2022, 12:14pm UTC](https://community.graylog.org/t/edit-index-set-t-state-is-null-in-graylog-4-3-3/24721/10 "2022-07-20T12:14:40Z")

</div>

If I had to guess, the issue has to do with the details page again. The Edit Index Set doesn’t work from the index details page, and then the rotate active index doesn’t work from the same page. May be related?

---

<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:** [July 20, 2022, 10:34pm UTC](https://community.graylog.org/t/edit-index-set-t-state-is-null-in-graylog-4-3-3/24721/11 "2022-07-20T22:34:28Z")

</div>

> [@rfinney](#):
>
> If I had to guess, the issue has to do with the details page again

I believe so, For myself its something with the **Edit Index Set** button. I’m able to rotate the index set but unable, like yourself to edit the index set from that page.

---

<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:** [August 3, 2022, 10:35pm UTC](https://community.graylog.org/t/edit-index-set-t-state-is-null-in-graylog-4-3-3/24721/12 "2022-08-03T22:35:23Z")

</div>

Closed on August 3, 2022, 10:35pm UTC

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