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!

.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 ...

Introducing the 2024 SplunkTrust!

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