Below is the JSON content that i want to process and read all the 'amount' and sum those values based on the business logic in the Logstash config file. Can you please help ?
The relationship between the JSON data and the XML filter is unclear. But if you want to iterate over each entry in an array and sum the amount fields then a ruby filter could do that.
Thank yo so much for you prompt response. Actually the above JSOn content is the output of XML filter. As i am new to ELK stack, can you please help me how to iterate and sum up the amount value in this structure ?
I am facing issues in getting the values from parent element 'ClientSalaryData'. Please help
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.