Getting Data In

Troubleshooting- Why is the data only coming from 3 files?

uagraw01
Motivator

Hello Splunkers !!

 

I have 5 file paths which we are monitoring

D01A01023(Z+01) -- Data is not coming
D01A02023(Z+01) -- Data is coming fine
D01A03023(Z+01) -- Data is not coming
D01A04023(Z+01) -- Data is coming fine
D01A05023(Z+01) -- Data is coming fine

We have data similar files and logs patterns are same for all the files but even after that logs are coming to Splunk only from 3 files not all the files.

In that I have checked inputs.conf, props.conf & transforms.conf all are fine. But Still I am figuring out what more I need to check to troubleshoot this issue.

 

0 Karma

PickleRick
SplunkTrust
SplunkTrust

Check the output from

splunk list monitor

and

splunk list inputstatus

on the splunk component monitoring the files

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Please share the inputs.conf stanzas for the 5 file paths.

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

uagraw01
Motivator

@richgalloway To add crcSalt = <source> can resolve the issue ?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

crcSalt=<SOURCE> can help prevent re-indexing of a file that has been renamed, but won't help with files that aren't indexed at all.

The regex in the whitelist doesn't match the file names in the OP.  For starters, none of the file names in with ".log".  This regex matches the example names, according to regex101.com

D[0-9]{2}A[0-9]{5}\(Z[+-][0-9]{2}\)

 

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

uagraw01
Motivator

@richgalloway 

C:\\Firelog\D01A01023(Z+01).log 

That is the complete log path of one of the log

0 Karma

richgalloway
SplunkTrust
SplunkTrust

That fits the original regex (I'm assuming "Filelog" in the original is a typo).

Have you checked the logs to see if Splunk is reporting any errors accessing the files?

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

uagraw01
Motivator

@richgalloway 

[monitor://c:\Filelog\*.log]
whitelist = [\/\\]D[0-9]{2}A[0-9]{5}\(Z(?:\+|\-)[0-9]{2}\).log$
disabled = false
index = abc
sourcetype = abc_logs

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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...