Deployment Architecture

Unable to get data from splunk forwarder consistently.

kamal_jagga
Contributor

Hi,

My splunk forwarder is working in-consistently and is not forwarding data regularly. When i restart the forwarder it immediately sends all the data till that time. And then does not forward it till the next restart.

Kindly advise.

Tags (1)
0 Karma
1 Solution

kamal_jagga
Contributor

It seems that some one had removed the entries from transform.conf and props.conf for my index. I updated the entries and the issue got fixed.

View solution in original post

0 Karma

kamal_jagga
Contributor

I have researched and found 2 possible solutions for this.

  1. Too much processing is happening on forwarder. Removing some filtering from transform.conf should solve the issue.
  2. Install another universal forwarder instance on server on which forwarder is installed.
0 Karma

kamal_jagga
Contributor

It seems that some one had removed the entries from transform.conf and props.conf for my index. I updated the entries and the issue got fixed.

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Check $SPLUNK_HOME/var/log/splunkd.log on the forwarder - or in Splunk if it managed to forward it - for any messages.

0 Karma

woodcock
Esteemed Legend

I have seen this happen because the forwarder is sorting through too many directories and files If you have inputs.conf like this:

[monitor:///somedir/logs/]
index=myindex
sourcetype=mysourcetype

You need to add this stuff, too, to limit the number of files that Splunk has to examine and the number of directories it has to traverse:

recursive = false
whitelist = *.log
blacklist = *badfile*.log

Also if you are using /.../ in the path of the stanza header, try to be more explicit, even if all you can do is change to /*/

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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...