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
Get Updates on the Splunk Community!

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...