Splunk Enterprise Security

Batch input. How to index .tar files quickly?

rendie
Path Finder

Hi,

I have batch index with next configuration:

[batch://path/to/files]
move_policy = sinkhole
index = maindata
 
And if in folder "files" are .csv files, then they will be indexed in seconds. But if in the folder are .tar.gz archive with CSV file inside, then he will be indexed only after restart Splunk.
 
How to index archive some quickly as .csv files?
 
Thanks.
0 Karma
1 Solution

scelikok
SplunkTrust
SplunkTrust

Hi @rendie,

If you are putting the tar.gz files with the same name, this may be the reason you need to restart. 

Please try adding below check modified time setting and try;

[batch://path/to/files]
move_policy = sinkhole
CHECK_METHOD = modtime
index = maindata

 

If this reply helps you an upvote is appreciated.

If this reply helps you an upvote and "Accept as Solution" is appreciated.

View solution in original post

0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @rendie,

If you are putting the tar.gz files with the same name, this may be the reason you need to restart. 

Please try adding below check modified time setting and try;

[batch://path/to/files]
move_policy = sinkhole
CHECK_METHOD = modtime
index = maindata

 

If this reply helps you an upvote is appreciated.

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma
Get Updates on the Splunk Community!

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

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...