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

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

October 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Splunk Education Goes to Washington | Splunk GovSummit 2024

If you’re in the Washington, D.C. area, this is your opportunity to take your career and Splunk skills to the ...