Every Kibana discovery search returns actual document fields plus some internal Elasticsearch fields, such as _id, _index, _score, _type. The question is how to prevent those internal fields from showing up in results? They only obscure important fields in my case .
I'm looking for a way to configure Kibana 4 to not even request those fields from Elastic or if it is not possible, then hide them in discovery search results table.
yahoo is correct. simply go to Advanced Settings, under metafields, remove _id, _type, _index, and _score, and _source if you like to remove those from the Discover table view.
As a matter of fact I have discovered the possibility to remove unneeded fields from metaFields and it even worked for me... for some time. I have not reported it back to this thread, because literally next day after I did exactly this change _id, _index, _score and _type came back to my Discover output and stay there since then!
While writing that I decided to do a simple experiment - reset metaFields setting to default (nothing changed in Discover output) and then remove unneeded fields again. Now they disappeared from Discover output! I wonder how long this effect would last.
Feels like there is obscure bug in Kibana which causes it to use default value of this field regardless of configuration after some event. What event that is - still a mystery.
I will report back if the change would stick (or not).
Hi @konste
I had the same experience. They disappear then they appear again.
Currently the advance setting for Meta Fields is empty. However, these items still appear in the discover panel.
I tried restarting kibana, and deleted the index from kibana and reload again.
They are still there!
Ok, we have new recipe from Rashid's answer - reset MetaFields to default, edit them again to desired state, then refresh index pattern. It may make the changes to stick. I just did it and keep an eye on it.
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.