Getting Data In

Can you extract file from zip and ingest

coolguycarlos
New Member

We are new to splunk and we are trying to find about all the vast capabilities that splunk offers.

So here is the scenario.

We have a repository that contains100s of zip files that are accessible through a network share.

Within these zip files contains a csv file that contains the data we need to ingest.

So the question is, is it possible for splunk to ingest just the csv within these individual zip files without having to unzip the entire archive first.

Labels (3)
0 Karma

bowesmana
SplunkTrust
SplunkTrust
0 Karma

coolguycarlos
New Member

Thanks. Is it possible though to only ingest the CSV file within the zip files?

0 Karma

PickleRick
SplunkTrust
SplunkTrust

Firstly - there is no way to whitelist/blacklist/select subset of files from an archive. If you tell Splunk to ingest an archive, it will happily pull contents of all files contained within.

Secondly - ingesting archives can be tricky - any change to archive will cause complete reingestion of archive contents so you might end up with several copies of the same events (and huge overconsumption of license).

0 Karma

bowesmana
SplunkTrust
SplunkTrust

If the zip contains other files, then I don't know how you would exclude those files

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...