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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...