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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...