Getting Data In

How to Indexed .gz file in a directory

ludoz13
Path Finder

I have a directory with some gz file and when I add this directory, there are nothings to indexed.

In Add Data, I have chosen "Continuously index data from a file or directory this Splunk instance can access" and I have put the right path.

Splunk find the number of file but there are nothing (no new source, host or sourcetype).

Thank for your help !!!

Tags (1)
1 Solution

Ayn
Legend

Splunk eats gzipped files without problems. Is this data completely new to Splunk or is it something that it has seen before (perhaps in another directory)? If so, you should set crcSalt = <SOURCE> for the input in inputs.conf.

View solution in original post

Ayn
Legend

Splunk eats gzipped files without problems. Is this data completely new to Splunk or is it something that it has seen before (perhaps in another directory)? If so, you should set crcSalt = <SOURCE> for the input in inputs.conf.

kdenton
Path Finder

It can also take a bit of time for the data to show up in Splunk as Splunk looks at these files one at a time as it has to uncompresse each file and ingest it.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...