I am trying to create an index pattern in kibana and setting the time field to be @timestamp.
The index pattern apparently creates OK with @timestamp as the time filter, but when i refresh the fields, the time filter gets changed to timestamp (I have both timestamp and @timestamp fields in data).
When i look at the fields, I can see that @timestamp has a green dot in the "excluded" column. Why is that, and what does it mean?
I've noticed this too for a recently created index pattern. If I recreate the index pattern it will work for a short while in the discover tab, but after some time I receive an error, discover becomes unusable for the index pattern, and @timestamp will appear in the index pattern's source filter all by itself. I haven't configured any source filters.
Could you explain in greater detail why this source filter is appearing by itself?
Is it possible to prevent this from happening?
currently v7.9.2 elastic/kibana
So, refreshing the index pattern should not exclude fields, just refresh the fieldllist. I wonder if an external source is creating or updating the index pattern? I think I've seen the wazuh-alerts-* index before, how are the log messages ingested in this case? thx
The issue has appeared around the time of upgrading filebeat elastic and kibana to 7.9.2. I have deleted the .kibana system index and optimize folders and restarted kibana as troubleshooting steps already. I have a separate filebeat instance running version 7.8 that is unaffected by this issue and is running fine. Both filebeat instances have similar configurations and the same ILM policy. I have also tried deleting the index itself and starting the filebeat service again with no luck. The only debug error I see from kibana is:
{"type":"log","@timestamp":"2020-10-21T16:48:26Z","tags":["debug","plugins","usageCollection","collector-set"],"pid":2065,"message":"not sending [kibana_settings] monitoring document because [undefined] is null or invalid."}
Its also worth mentioning I'm using Wazuh's filebeat index template here. The wazuh-alerts index pattern works fine, here is my filebeat config for reference:
Thanks for the excellent summary, seems the index pattern changes for some reason? would it be possible, that you could share an exported index pattern shared object before and after the error occurs? you could export it in the saved object part of our stack management. that would be great!
Many thx!
In my case, the logs are coming from Logstash. Unfortunately the environment is completely locked down and i am not permitted to share a HAR file, but thanks for your offer.
Yes, sharing such data is not possible. There is one thing you could do, export the saved object containing the index pattern before and after the change, diff both exports , share what changed (of course after checking it doesn't contain sensitive data, yes). This would help a lot.
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.