Getting Data In

Line breaks per single line for IP address

tbalouch
Path Finder

Hi Guys,

I'm trying to break events in Splunk with a text file with just ip addresss in it and no time stamps. The format is below:

1.1.1.1
1.2.3.4
192.168.1.2

How can I setup my props.conf file to break every line as a single event. I don't really care about timestamps.

0 Karma
1 Solution

dshpritz
SplunkTrust
SplunkTrust

You can set the following in your props.conf for the sourcetype:

[mysourcetype]
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)

HTH,

Dave

View solution in original post

0 Karma

dshpritz
SplunkTrust
SplunkTrust

You can set the following in your props.conf for the sourcetype:

[mysourcetype]
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)

HTH,

Dave

0 Karma

tbalouch
Path Finder

Thanks this worked great!!

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...