I have 4 index patterns with data from diferents sources, in the index pattern section of Kibana I can see the different fields of the indexes, but in discovery and TSVB the fields remain the same when I change the index pattern to visualize the data.
I have work with, 7.5, 7.6, and never have this problem.
[UPDATE]
I realize that Discovery and TSVB always show me the fields of the default index pattern (mixed with some fields of the other indexes), so I delete them all, recreated other index that wasnt the default, and still get the fields of the old default index pattern! fields that doesnt exist in the actual index.
[UPDATE 2]
now I have just one index pattern, I use this in the dev tools
GET /my-new-index/_mapping
and I get the mapping of the old default index, but I erase that index pattern, the mapping should not exists acording to this Documentation
you just need to delete the index to erase the mapping.....I dont know what is going on
it seems to be that, I dont have any index template defined, I have deleted the indexes in elasticsearch, reindex the data without creating any index pattern, and then go to index management (in the elastic section) and check the mapping, and still have the mapping of the old index pattern, but that mapping should not exists.
So any time a create an index in elasticsearch with logstash, automaticaly get the mapping of the old default index pattern. but again, that mapping shouldnt exist.
yes, logstash index the documents, but in the output I only have the elasticsearh output, no additional setting, I have done this many times, but this have never happend before.
usualy i index the documents with logstasth, with no mapping, and then when Im shure that everything is OK i create a mapping for that index.
but the old mapping is somehow saved in elastic, because in logstash I dont have any aditional configuration.
Unfortunately I'm not sure what could cause this, could you post this question again in the Elasticsearch forum? Make sure to include snippets from how the mapping looks vs. how you expect it to look in the post.
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.