Getting Data In

Universal Forwarder doesn't forward specific log

hohyuon
Engager

Collect two logs with the Universal Forwarder.
One log is collected well, but one log is not collected.
Can you give me some advice on this phenomenon?

The input.conf configuration file.

[monitor://D:\Log\State\...\*.Log]
disabled = false
index = cds_STW112
sourcetype = mujin_CDS_IPA_Log_State
ignoreOlderThan = 1h

>>>>Not collecting


[monitor://D:\Log\Communication\DeviceNet\Input\...\*Input*.Log]
disabled = false
index = cds_STW112
sourcetype = mujin_CDS_DNetLog_IN
ignoreOlderThan = 1h

>>>>Collecting

Labels (2)
0 Karma
1 Solution

deepakc
Builder

You can begin by checking with these commands as it looks like a Windows UF

#Shows monitored Files

\opt\splunkforwarder\bin\splunk list monitor

#Shows monitoried file inputs status

\opt\splunkforwarder\bin\splunk list inputstatus

Have you checked permissionss for the logs that are not being collected?

Have you checked the name of the paths/logs are correct (typos)?

Check splunkd.log - there may be some further info in there

\opt\splunkforwarder\var\log\splunk\splunkd.log
(Look for TailReader OR ERROR)

View solution in original post

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @hohyuon ,

at first run the checks described by @deepakc that are the correct ones.

Then, please, check the timestamp format: if the forma is dd/mm/yyyy you have to define this format in props.conf

TIME_FORMAT = %d/%m/%Y %T:%M:$S

because Splunk, by default, uses te american format (mm/dd/yyyy) and during the first 12 days of the month doesn't assign the correct timestamp, so today it isn't correct and you don't see events with today's date, but tomorrow date.

Ciao.

Giuseppe

0 Karma

deepakc
Builder

You can begin by checking with these commands as it looks like a Windows UF

#Shows monitored Files

\opt\splunkforwarder\bin\splunk list monitor

#Shows monitoried file inputs status

\opt\splunkforwarder\bin\splunk list inputstatus

Have you checked permissionss for the logs that are not being collected?

Have you checked the name of the paths/logs are correct (typos)?

Check splunkd.log - there may be some further info in there

\opt\splunkforwarder\var\log\splunk\splunkd.log
(Look for TailReader OR ERROR)

0 Karma

hohyuon
Engager

Thank you.
I solved it.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @hohyuon ,

good for you, see next time!

let us know if we can help you more, or, please, accept one answer for the other people of Community.

Ciao and happy splunking

Giuseppe

P.S.: Karma Points are appreciated by all the contributors 😉

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...