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!

Index This | What did the zero say to the eight?

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

Splunk Observability Cloud's AI Assistant in Action Series: Onboarding New Hires & ...

This is the fifth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Now Playing: Splunk Education Summer Learning Premieres

It’s premiere season, and Splunk Education is rolling out new releases you won’t want to miss. Whether you’re ...