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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...