I'm new to ELK and need your help for configuring ELK. I have below logstash config for parsing cloudtrail logs and this breaks/splits the 'Records' field json but i still see some sub records like - Records.responseElements.instancesSet.items and few others appearing as json and not broken into individual records. Could you please help me configure proper filter for splitting subrecords too.
Without seeing an example document it's hard to know, but I suspect that everything is fine from a Logstash point of view. Kibana does a poor job of showing arrays of objects.
The current config does break 'Records' field but the issue here is when you run a command or anything that includes more than 1 record, it will literally just dump all the data into a single Records event, overwrite a bunch of them, and lose data.
You can verify this by going to AWS and creating a server, and watching the logstash logs. Every so often it will say something along the lines of too much data in a single event.
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.