Getting Data In

how can I force splunk read file line by line

perlish
Communicator

I have a big file about 17G,when I input it as a file,splunk treat some record as multi-line.
The file is UTF-8 Unicode text.
how can I force splunk read file line by line ?
Thank you very much!

Tags (2)
0 Karma
1 Solution

Takajian
Builder

You need to configure props.conf in order to force splunk index data with single line.
The configuration will be following.

[your_sourcetype]
SHOULD_LINEMERGE = false

You can also refer to the manual as bellow.

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

View solution in original post

perlish
Communicator

it works!
Thank you !
the manual are powerful!

0 Karma

Takajian
Builder

You need to configure props.conf in order to force splunk index data with single line.
The configuration will be following.

[your_sourcetype]
SHOULD_LINEMERGE = false

You can also refer to the manual as bellow.

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

Get Updates on the Splunk Community!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...