Getting Data In

Why is Splunk not reading existing files from same server?

ram254481493
Explorer

Hi

Currently, I have setup inputs.conf, Splunk is reading all the directories in the inputs file- but not reading one file.
I tried using crcSalt but nothing works.
It's reading first 3 monitor paths but not reading the last one.
All three are from the same server and the log exists.

[monitor://D:\Talx.xxx\EDRService.xxxx\AppLogs*]
disabled = false
recursive = false
index = xxxxxx
sourcetype = xxxxxx

[monitor://D:\AuditAndxxxxxx\TWNEmployerServiceP0xxxxxx.trace.*]
disabled = false
recursive = false
index = xxxxx
sourcetype = xxxxxx

[monitor://D:\AuditAndxxxxx\TWNEmployerxxxxx.*]
disabled = false
recursive = false
index = xxxxx
sourcetype = xxxxxx

[monitor://D:\Talx.xxxxxxx\TWNEmployer.xxxxxx_Logs\AppLogs.*]
disabled = false
recursive = false
index = pxxxxxx
crcSalt = 
sourcetype = xxxxxxxxxxx
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Verify Splunk has read access to the directories and files it is to monitor.
Check splunkd.log for related error messages.
Run splunk btool --debug inputs list to verify the configuration.
Run splunk list monitor to verify what Splunk is monitoring.

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

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Verify Splunk has read access to the directories and files it is to monitor.
Check splunkd.log for related error messages.
Run splunk btool --debug inputs list to verify the configuration.
Run splunk list monitor to verify what Splunk is monitoring.

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

ram254481493
Explorer

sure thanks for your help it was a issue with my monitoring stanza. And its resolved.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

To help future readers, please add and accept an answer explaining how you resolved the problem.

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

ram254481493
Explorer

hi i am not able to accept the answer , i cannot see the accept answer button. In my monitoring path i had an extra space so its not reading the logs , i removed the extra space and i restart the forwarder , it starts flowing the logs.

0 Karma

ram254481493
Explorer

Thanks now i am able to do it

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...