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!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...