1. Describe your incident:
I was trying to change the “All Messages” stream to use different Index, instead of the Default Index set with API, but got error:
“title”: “All messages”,
“message”: “The stream cannot be edited.”
2. Describe your environment:
4. How can the community help?
Is this possible? and if so, how? Thanks.
Helpful Posting Tips: Tips for Posting Questions that Get Answers [Hold down CTRL and link on link to open tips documents in a separate tab]
I know you can set the default index via the web interface… perhaps if you used the API to change the default index rather than the default stream? I haven’t used the API in that way so I have no quick suggestions…
Yes, I changed the Default Index through the web interface, but that did not change the All message stream. It still uses the old Default index. Some users here suggested to use API in the past posts, maybe things have changed? I am trying to figure out.
Did some more research - looks like it might be a design issue where it sets on first startup and might be able to be changed in the Mongo DB. Posted to Github here Though it is initially for version 2.3.2, it was still an issue in 2020 with version 4.x
Got it, thank you for the quick response.
The original default index got messed up by the SNMP plugin I grabbed from the marketplace, which keeps adding more and more fields (over 3000 now). So I decided to switch to new default Index.
I think fields are recreated with each new index as the data comes in … if so, you can rotate your index and only the fixed data will come in the new one. Thats a much easier solution…
Yes, trying to do that by defining different streams and indexes.
this is what I mean below. If you don’t want the older data, you can delete them from this page as well…
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.