|
Splunk understands old school BSD-style syslog events effortlessly. For RFC 5424-style events, multiple data structure elements are allowed. How do I get Splunk to understand there are multiple ID fields? Here is a sample event:
|
|
Edit your props.conf and transforms.conf and add a repeat match regex for the ID field: Add to $SPLUNK_HOME/etc/system/local/props.conf:
Add to $SPLUNK_HOME/etc/system/local/transforms.conf:
This will extract your IDs, but will not distinguish between parameters in different structures that have the same name. I'm not sure if there is a general way in Splunk REGEX to split them up into individual fields to avoid name conflicts.
(23 Jan '10, 20:13)
gkanapathy ♦
|
|
A similar approach could be taken for other fields - since the fields can have the same name you would have to work with multivalued fields. Here is an example
|
