I deleted the filebeat index on accident from kibana browser and now it is coming up blank with a 404 error. I tried to delete the cache, update kibana and es, and reinstall the default templates, but nothing has worked. Any suggestions?
Here is my error:
Request URL:http://server:5601/elasticsearch/packetbeat-*/_mapping/field/*?_=1487601639728&ignore_unavailable=false&allow_no_indices=false&include_defaults=true
Request Method:GET
Status Code:404 Not Found
Remote Address:server:5601
And I cannot just make a dummy index because it is trying to find packetbeat-*
did you mean that you deleted the packetbeat indices and were those indices set as Kibana's default indices? If so, this sounds like a known problem that occurs when the default index was deleted. Two ways to fix it come to mind:
Delete the defaultIndex key from the Kibana config using a PUT curl request. You should be able to find the settings at ${YOUR_ES_HOST}/.kibana/config/${YOUR_KIBANA_VERSION}.
Create a dummy index matching packetbeat-*, e.g. packetbeat-dummy using curl.
I deleted the filebeat, not packetbeat. I want to get back to the filebeat default.
Can you also give the exact commands to follow. I'm new to this and I'm not sure how to delete the default index or create a dummy to match a pattern
it also looks like filebeat is not receiving anything..
Assuming that an inconsistent state of the default index pattern configuration is the reason, executing the following query should reset it. Replace ${ELASTICSEARCH_HOST} in the URL with the proper value for your Elasticsearch deployment.
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.