Getting Data In

How to monitor a file within a VM?


How do you configure Splunk to monitor files within a VM? I installed Splunk within a VM and added a data input to monitor the file changes to a series of files. When I view the data input on the Files and Directories page it does show that it is monitoring a number of files but nothing is ever indexed. Is there a different procedure to monitor files that are within a VM?

Tags (2)

Splunk Employee
Splunk Employee

There is nothing particular about VMs here. Splunk needs to be running in an environment where it can access the log files by the path that you specify.

Splunk Employee
Splunk Employee

Should be the same. Is it possible you don't have enough space on the VM data volume so that indexing pauses?

Path Finder

So when you go into Search, Status, see data. But when you go into Search, Status, Index don't see anything?

I created a File/Directory input as well. Do you have a whitelist or blacklist configured?

0 Karma
Get Updates on the Splunk Community!

Accelerate Service Onboarding, Decomposition, Troubleshooting - and more with ITSI’s ...

Accelerate Service Onboarding, Decomposition, Troubleshooting - and more! Faster Time to ValueManaging and ...

New Release | Splunk Enterprise 9.3

Admins and Analyst can benefit from:  Seamlessly route data to your local file system to save on storage ...

2024 Splunk Career Impact Survey | Earn a $20 gift card for participating!

Hear ye, hear ye! The time has come again for Splunk's annual Career Impact Survey!  We need your help by ...