Getting Data In

Text logs not forwarded or indexed

MattMorish
Explorer

Hi,

I have an issue in forwarding application logs (text files) to splunk.
Windows Event Logs are forwarded and indexed properly but text files in a local drive are not.
Do you have any idea what the cause of this problem?

Thank you.

Labels (2)
0 Karma
1 Solution

isoutamo
SplunkTrust
SplunkTrust

If I recall right, remote files should read with domain account not local? You could try to reset any of filepointer in fishbucket and see if it reread it. Otherwise I propose to use domain account. 

In whitelist those are regex so try .*\..* instead of *.*


r. Ismo

View solution in original post

isoutamo
SplunkTrust
SplunkTrust

Hi

can you send your inputs.conf and outputs.conf files so community can help you?

r. Ismo

0 Karma

MattMorish
Explorer

HI,

Thank you for your quick reply. I'm attaching the conf.

--- inputs.conf ---

[monitor://\\vmappt123\CREMS-PLUS-IF\LOG\]
disabled = false
index = main
sourcetype =
whitelist = *.*

[monitor://\\vmappt123\CREMS-PLUS-IF\LOG]
disabled = false
index = main

[monitor://\\vmappt123\CREMS-PLUS-IF\LOG\*.log*]
disabled = false
index = main

[monitor://D:\App\IVIF0001DJ\LOG]
disabled = false
index = main

[monitor://D:\App\IVIF0001DJ\LOG\*]
disabled = false
index = default
sourcetype = MXG-CREMS Plus - Realtime

[monitor://\\vmappp123\CREMS-PLUS-IF\LOG\*]
disabled = false
index = main
sourcetype = MXG-CREMS Plus - Realtime

[monitor://\\vmappt123\CREMS-PLUS-IF\LOG\*]
disabled = false
index = main

[monitor://\\vmappp123\CREMS-PLUS-IF\LOG]
disabled = false
index = main

[monitor://D:\App\IVIF0001DJ\LOG\*.log*]
disabled = false
index = main
sourcetype = MXG-CREMS Plus - Realtime

[monitor://\\vmappp123\CREMS-PLUS-IF\LOG\*.log*]
disabled = false
index = main

--- End of inputs.conf ---

--- outputs.conf ---

[tcpout]
defaultGroup = my_search_peers

[tcpout:my_search_peers]
server = v-spk01p:9997, v-spk01c:9997
autoLB = true

--- End of outputs.conf ---

 

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Anyone of those is working?

Are your splunk user in UF using local, domain or  service user? Based on your inputs it should be a domain or service.

Which version you are using?

r. Ismo

0 Karma

MattMorish
Explorer

Hi,

None of them is working, but according to TailingProcessor:FileStatus, it looks that the forwarder is successfully reading all files.

Capture.PNG

"Local System account" is selected on the tab "Log On" in the property of "SplunkForwarder Service" running on the source server.


We are using Splunk Enterprise 6.6.6.

Thank you.

0 Karma

isoutamo
SplunkTrust
SplunkTrust

If I recall right, remote files should read with domain account not local? You could try to reset any of filepointer in fishbucket and see if it reread it. Otherwise I propose to use domain account. 

In whitelist those are regex so try .*\..* instead of *.*


r. Ismo

MattMorish
Explorer

Hi,

Thank you very much for your helpful suggestion! We cracked the issue by doing as below.
1) Removed all the forwarded inputs that referenced network shares and just used local directories. Only 3 are present now (one of which must be working):

1.PNG
2) Renamed one of the log files to have the extension .log

2.PNG
3) Adding a new line, the text has appeared in Splunk

We think its the third one we tried that's based on the regular expression that you suggested.
Thank you very much for pointing us the right direction!

 

 

 

0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...