Splunk Search

Searching local directories

jjriver2
New Member

I am trying to add and search data directly from my local file directory in splunk. I went to setting > data inputs > Add new Files & Directories > Start searching data

When I chose to continue searching the data no results showed? Why is this?

0 Karma

nwuest
Path Finder

Hi jjriver2,

Have you tried giving your Splunk forwarder a reboot? Typically if you make changes to the forwarder configuration you must start or restart the forwarder in most cases. The reason why is that the Splunk Universal Forwarder needs to restart for the new changes to take effect.

https://docs.splunk.com/Documentation/Forwarder/8.1.0/Forwarder/Starttheuniversalforwarder 

http://docs.splunk.com/Documentation/Splunk/latest/Admin/Configurationfilechangesthatrequirerestart

 

I do hope this helps!

V/R,

nwuest

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @jjriver2,

let me understand:

  • you configured an input read log files from a local directory of your Splunk Server,
  • you took these logs and stored them in an index (e.g. main),
  • then you searched on the configured index;

it this correct?

When you configured Add new files & Directories what did you do after?

I don't know how much you know Splunk, maybe it could be better to follow a video, how to monitor files:

for windows https://www.splunk.com/en_us/training/videos/getting-data-in-to-splunk-enterprise-windows.html

for linux https://www.splunk.com/en_us/training/videos/getting-data-in-to-splunk-enterprise-linux.html

Ciao.

Giuseppe

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...