Getting Data In

Line Breaking event into multiple events -

splunker12er
Motivator

Sample log:

Oct 14 04:26:40 localhost kernel: : pci 0000:00:16.6: PCI bridge to [bus 11-11]
Oct 14 04:26:40 localhost kernel: : pci 0000:00:16.6:   bridge window [io  0xf000-0x0000] (disabled)
Oct 14 04:26:40 localhost kernel: : pci 0000:00:16.6:   bridge window [mem 0xd3d00000-0xd3dfffff]
Oct 14 04:26:40 localhost kernel: : pci 0000:00:16.6:   bridge window [mem 0xd5300000-0xd53fffff 64bit pref]
Oct 14 04:26:40 localhost kernel: : pci 0000:00:16.7: PCI bridge to [bus 12-12]

props.conf:

[my_custom]
SHOULD_LINEMERGE = true
BREAK_ONLY_BEFORE_DATE = true

I set the above property to break that single event , but it seems it doesnt work, since the Timestamp is same in all the events does it always consider this as a single event ?

or any other settings to include in my props ? Please help

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

0 Karma

lguinn2
Legend

If all events are a single line, it would be significantly more efficient to do this:

 [my_custom]
 SHOULD_LINEMERGE = false

Also, your settings are the default, so you shouldn't need them anyway. Is it possible that Splunk is not interpreting the timestamp correctly? If Splunk doesn't recognize the timestamp, then your BREAK_ONLY_BEFORE_DATE = true setting will not work.

my_custom should be the name of the sourcetype of the data - it must match exactly, including case.

0 Karma
Get Updates on the Splunk Community!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...