Getting Data In

Split event into multiple events

evan_roggenkamp
Path Finder

I am indexing syslog traps stored to a file. I am building a transaction based on that where if the value of a particular field extracted with rex changes. However, it would seem sometimes that the indexer records two specific events as one. This is obviously messing with results, as the second event is not considered. I am looking for a workaround. This event represents two different events upon which my transaction search requires to function. If the second one isn't considered, my transaction command will fail:

     Received Time:4/28/2016 8:40:55 AM
     Source:
     Community:jeQ2saFRaXaspAqa
     Tag:= BLUE_PLANET
     Variable Bindings
          sysUpTime:= 0.03 second (3)
          snmpTrapOID:= CYAN-MIB:cyan.6.1.3.60 (1.3.6.1.4.1.28533.6.1.3.60)
          cyan.6.1.1.1.0:= 48548
          cyan.6.1.1.2.0:= 10.252.4.17
          cyan.6.1.1.3.0:= Nodename
          cyan.6.1.1.4.0:= 3
          cyan.6.1.1.5.0:= OCh Term.
          cyan.6.1.1.6.0:= LINE_OCH-1-6-1-210
          cyan.6.1.1.7.0:= 388
          cyan.6.1.1.8.0:= 60
          cyan.6.1.1.9.0:= High Rx Power
          cyan.6.1.1.10.0:= 1
          cyan.6.1.1.11.0:= 3
          cyan.6.1.1.12.0:= 2
          cyan.6.1.1.13.0:= 3
          cyan.6.1.1.14.0:= Signal Degrade - High Received Power
          cyan.6.1.1.15.0:= Cyan Z33
          cyan.6.1.1.16.0:= TP_SD
          snmpTrapEnterprise:= CYAN-MIB:cyanProducts.6 (1.3.6.1.4.1.28533.1.6)
     Received Time:4/28/2016 8:40:56 AM
     Source:
     Community:jeQ2saFRaXaspAqa
     Tag:= BLUE_PLANET
     Variable Bindings
          sysUpTime:= 0.01 second (1)
          snmpTrapOID:= CYAN-MIB:cyan.6.1.3.60 (1.3.6.1.4.1.28533.6.1.3.60)
          cyan.6.1.1.1.0:= 48557
          cyan.6.1.1.2.0:= 10.252.4.17
          cyan.6.1.1.3.0:= Nodename 
          cyan.6.1.1.4.0:= 3
          cyan.6.1.1.5.0:= OCh Term.
          cyan.6.1.1.6.0:= LINE_OCH-1-6-1-210
          cyan.6.1.1.7.0:= 388
          cyan.6.1.1.8.0:= 60
          cyan.6.1.1.9.0:= High Rx Power
          cyan.6.1.1.10.0:= 0
          cyan.6.1.1.11.0:= 3
          cyan.6.1.1.12.0:= 2
          cyan.6.1.1.13.0:= 1
          cyan.6.1.1.14.0:= Signal Degrade - High Received Power
          cyan.6.1.1.15.0:= Cyan Z33
          cyan.6.1.1.16.0:= TP_SD
          snmpTrapEnterprise:= CYAN-MIB:cyanProducts.6 (1.3.6.1.4.1.28533.1.6)

How can I tell splunk how to split these up into two separate events?

0 Karma
1 Solution

sundareshr
Legend

sundareshr
Legend

Here is some great documentation on how you can break events.

http://docs.splunk.com/Documentation/Splunk/6.2.2/Data/Indexmulti-lineevents

Get Updates on the Splunk Community!

Your Guide to Splunk Digital Experience Monitoring

A flawless digital experience isn't just an advantage, it's key to customer loyalty and business success. But ...

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...