All Apps and Add-ons

How to get Splunk Hadoop Connect output to write to the same CSV file instead of creating a new one for each job?

venkatsai123
New Member

I am trying a job using Splunk Hadoop Connect. When the job ran for the 1st time, output was written into a new .csv file.. after an hour, when the job reran, I see it create a new file instead of append the output to the old .csv file.

I am confused.

Can anyone tell me how write output to same .csv file instead of creating new one?

0 Karma

rdagan_splunk
Splunk Employee
Splunk Employee

What you see is the default behavior of Hadoop Connect. As the job runs, the Splunk platform processes chunks of data received from the search and creates compressed files, locally on the search head. These files are moved to HDFS or the mounted file system if they reach 64MB or if cumulatively they consume more than 1GB, or the search finishes successfully. You can change these limits in the Export Defaults configuration section.
The reason most people select to stay with these default settings - 64MB or 128MB - is that Hadoop itself likes to process the file based on the Hadoop Block size

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...