I have a requirement in logstash.
For an example in fruits keyword i have 3 values
1- Mangoes ---- 5
2- Oranges -----6
3- Brinjal -----7
But in Kibana i need to visualize the sum of only 2 objects as shown below,But without using the inbuilt count plugin available in Kibana.
Total no of fruits are 11
What is the filter code i need to write in the Logstash.conf file in order to achieve this.
Note i am using elk version 7.2 and all the values are coming from the same keyword.value