Getting Data In

Splunk not forwarding/indexing gzip files

BT_Neophyte
Explorer

I'm having an issue where I have a directory that contains numerous .gz files and I'm trying to get them into Splunk, but it is not forwarding/indexing them. My inputs.conf is fairly straightforward:

[monitor:///var/log/us_security/*]
sourcetype=us_security
index=security

/var/log/us_security contains nothing but .log.gz files.

Data is not being fed into this directory, we manually copied all of these files over to some prototypes within Splunk. After moving the files to the test location we created the inputs.conf seen above, but nothing is ending up in Splunk when we search for it.

I know Splunk is capable of handling .gz files, so we're a bit stuck as to what the problem is here.

0 Karma

woodcock
Esteemed Legend

Have you tried this?

[monitor:///var/log/us_security/*.log.gz]
sourcetype=us_security
index=security
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...