Article
Reading CSV records carried inside syslog
Layered formats can be interpreted one layer at a time.
An event can have the envelope of a syslog record and a message body made up of comma-separated fields. The example keeps both layers visible while extracting values for a chart.
A reliable interpretation accounts for the rules of each layer. Quoting inside a CSV field, for example, can make a simple count of commas misleading.