Getting Data In

How do I find an already uploaded file?

nathant089
New Member

How do I find an already uploaded file in Splunk and download it to my PC? Is there a particular data store that lists all of the total uploaded files?

0 Karma

ningwudm00
Engager

run this command: source=*| stats count by source

DalJeanis
Legend

Once ingested into Splunk, incoming data is not retained as "files". It's all squished together into something called a "fishbucket" (or just "bucket").

Now, it is possible that the source file may exist somewhere on the computer system, but that's not really a Splunk thing to deal with.

You can try to track that down, if it actually exists, by looking at the source field on the data. If it looks like a file name, then it probably is a file name.

Then you can identify, if you have admin rights, where that is getting ingested from, and see if the file is still in that place or whether it has since been archived or deleted. In the case of many types of log files, it may also be rolled to another name, so some.log when it gets filled up becomes some.log.3 and then a new some.log is created, which later becomes some.log.4 and eventually it rolls around to reuse some.log.3 again.

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...