Getting Data In

Unable to monitor a windows file.

dspencer
Engager

What are some reasons why a UF wouldn't monitor a windows file assuming there is nothing wrong with any configs and the virtual account has full access to the file I'm trying to monitor?

Labels (2)
0 Karma

dspencer
Engager

Thanks for your reply. I'm not 100% sure my assumptions are correct but the config is pretty simple. I'm the admin and I did give the splunk virtual account full permissions. I am searching all indexes for a specific host. The splunk log do have errors but the only lines associated with the file in question are file is parsed and watched. The UF is collecting eventlogs and UF logs. What are some other factors I can look at?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

If you're not sure about the assumptions then consider sharing the inputs.conf stanza so others can check it for you.

Can you search for other data sources from the same UF?  Is the monitored file being updated?

How are you trying to search for the data?  Try using earliest=-1y latest=+1y in case timestamps are incorrect.

---
If this reply helps you, Karma would be appreciated.
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Those are the two main reasons.  Are you sure the assumptions are valid?  Have you checked splunkd.log on the UF?  What makes you think it's a monitor problem?  Could it be a search problem?

---
If this reply helps you, Karma would be appreciated.
0 Karma

dspencer
Engager

I'm collecting papercut logs from a window server.

[monitor://C:\Program Files\PaperCut MF\server\logs\print-logs\printlog_*.log]

disable=false

the output and index are applied via a deployment server.

searching with index=* host=<hostname>

splunkforwarder service account has read on the folder and children.

 

0 Karma

richgalloway
SplunkTrust
SplunkTrust

That monitor stanza name looks OK. I hope the stanza itself contains index= and sourcetype= settings.

Perhaps the hostname is not what you expect.  Try this search

index=<<index name from inputs.conf>> sourcetype=<<sourcetype name from inputs.conf>> source=*printlog_*.log earliest=-1d latest=+1y

 Have you confirmed other logs from the same UF are indexed?

---
If this reply helps you, Karma would be appreciated.
0 Karma

dspencer
Engager

I am collecting all other logs except the papercut from this specific host. The provided query doesn't return anything. I am sure that the service account has read access to the file. What are some other things I can look into that would prevent the UF from collecting a windows file if everything splunk related is correct?

 

Again, thanks for the assistance.

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 ...