I am facing the same issue. I deleted some documents from elasticsearch indices for specific type, using the
curl -XDELETE http://localhost:9200/logstash*/xyztype
When I query the elasticsearch for the same type it doesnt return any result. The message is:
But when browsing results in Kibana Discover screen and visualizing by types, that type is still there with many records of that type. I have no idea on whats going on. Also the KOPF plugin is also showing the same count of records that Kibana Discover interface is showing without any filters.
What is wrong is it Elasticsearch or Kibana.? Pls help
Any guidance on this? I am still seeing results in Kibana visualization in the bar chart for the type that should not be there as I have deleted that type in elasticsearch.
The column marked with arrow should not be there. It has more than 600000 records, which I deleted from elasticsearch.
Also the document count marked with arrow should be less by the same number as shown in Kibana column chart for that _type. The total count should be around 1316384-600000
Deleting an index in not an option as these indexes are already in production and conatain many _types of records, only can delete a _type in the indexes
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.