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 Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...