when I am creating a Pie chart on "nestedField.KeyName", graph is including values in both KeyNames. for Example: in Pie chart for KeyName, graph is divided into two parts "Key1" and "Key2". when I further split it by "KeyValue", Key1value1 and Key2value2 are showing at both sides of Keys. Key1 portion showing Keyvalue: Key1Value1 and Key2Value2. same as Key1.
this is related to the way Elasticsearch stores these documents. It will actually by default not have the link any more about the individual documents, i.e. your document will look like the following:
That's why filtering by "nestedField.KeyName:Key1" will just retrieve that document, which again has both nested field key values present.
If you need that distinction between original documents you want to look into Nested datatypes. But please be aware, that those are currently not supported by Kibana nateively (#1084), but you could have a look at the Kibana Nested Support Plugin by the community.
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.