I just started working with Kibana some days ago and now I want to explore the json input field.
In a histogram I want to count the occurences of the field "test_id". Therefore I use a filter which works fine.
In addition, I want to group the test_id's by the test_name. Because there can occur different names all the time I do not want to hardcode additional filters. Therefore I thought that JSON inputs can solve my problem.
I've added the following code but I always get an error message (Unknown key for a START_OBJECT in [3]: [aggs].)
In my es I have a field test_data which contains test_id and test_name.
I want to create a line chart which should shows the following:
The number of test_id's over time
The number of test_id's grouped by test_name over time
The first part can be easily done with the count aggregation and a filter on the x- axis. But I do not know how I can achieve the second part.
I do not want to use additional filters like
test_data.test_name:testName1
because if I add a new test_name to the es I have to add another filter in kibana too.
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.