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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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