Getting Data In

Hunk Line Break Configuration

Matthias_BY
Communicator

Hello,

as i did understand within Hunk data is returned in Jason format. I have log data in my Hadoop Environment. Connection + Search is working fine.

But the line break does not work properly. In one "Hunk" Event are always 4 of my Events. Even the events have quite similar structure...

how can i configure the event break settings within Hunk? couldn't find anything in the documentation.

Thanks a lot
Matthias

Tags (2)
0 Karma
1 Solution

bwooden
Splunk Employee
Splunk Employee
When a report-generating search is initiated, Hunk uses the Hadoop MapReduce framework to process the data in place. All of the parsing of data, including source typing, event breaking, and time stamping that is normally done at index time is performed in Hadoop at search time.

source: HUNK Docs

So you can use props and transforms as you normally would -- they're just executed at search time vs. index time for HUNK.

View solution in original post

bwooden
Splunk Employee
Splunk Employee
When a report-generating search is initiated, Hunk uses the Hadoop MapReduce framework to process the data in place. All of the parsing of data, including source typing, event breaking, and time stamping that is normally done at index time is performed in Hadoop at search time.

source: HUNK Docs

So you can use props and transforms as you normally would -- they're just executed at search time vs. index time for HUNK.

Matthias_BY
Communicator

Thanks a lot. the trick was to edit the props.conf and reference the sourcetype with the file path in the stanca.

http://docs.splunk.com/Documentation/Hunk/latest/Hunk/Setupavirtualindex#Edit_props.conf_.28optional...

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