Splunk Search

default interval for data sending

jangid
Builder

I am using Universal forwarder to send data to main Splunk instance to monitor files/directories.

What is default interval to send data?
How do I change this interval for x seconds to y seconds?

Tags (2)
0 Karma
1 Solution

Ayn
Legend

There is no interval. The forwarder sends data as soon as it has anything to send. You should expect some minor delay before you see the data in your index since data needs to move through the various queues in both the forwarder and the indexer, though. The inputs your forwarder is configured with might use some kind of intervals, like scripted inputs or WMI based inputs.

View solution in original post

Ayn
Legend

There is no interval. The forwarder sends data as soon as it has anything to send. You should expect some minor delay before you see the data in your index since data needs to move through the various queues in both the forwarder and the indexer, though. The inputs your forwarder is configured with might use some kind of intervals, like scripted inputs or WMI based inputs.

Ayn
Legend

What's in your environment that makes it a bad idea to send the data as soon as it arrives to the forwarder?

0 Karma

InkerzBrad
Explorer

If the log constantly changes, then it would be expensive to send a TCP traffic every time it changes.

0 Karma

Ayn
Legend

To achieve that you'd need to use a scripted input that only reads the data once an hour. There's some stuff on it here: http://splunk-base.splunk.com/answers/59916/can-you-set-a-certain-time-forwarding-occurs

jangid
Builder

Then how do I configure Splunk Universal forwarder to send data every one hour to main Instance?

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, ...