I have an ELK stack running on the Kubernetes cluster with security enabled. Everything is running fine and I am able to push data to an index. After logging in to Kibana as an admin user, and I to "Discover" it asks me to create an index pattern. So I have some metricbeat data, and I create a pattern and saved it. But when I go back to discover, it is prompting me to create an index pattern again!
Do you see your index pattern in Saved Objects management? If not try to create it again, but this time open Dev Tools so that you can see what request is sent to save it and what the response is and share request/response here.
Hmm, maybe try to enable Kibana verbose logging (logging.verbose: true) and restart Kibana so that logs contain everything right from the start and see if you can spot anything in there. If you don't see anything, remove any sensitive info from there and share the the file with logs here (via link to gist.github.com or anything like that since you cannot attach it directly here).
recreated kibana and now it is working. I can even see all the index patterns i have been creating earlier
so it seems the issue was only with kibana after all.
Thanks @azasypkin for your pointers, it was helpful
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.