Getting Data In

How can I search total time indexing for source="xxx.log" and bandwidth speed of data transfer between site.

seksit
Explorer

Hi everyone,

Now I'm working splunk site to site. I have splunk indexer at HQ and splunk forwarder at branch.

I'm testing send data from branch to splunk indexer at HQ.

How can I search for total time splunk indexing data from branch per source="xxxx.log" and bandwidth speed of data transfer between site.

Thanks you for advise.

0 Karma
1 Solution

woodcock
Esteemed Legend

All events have a field called _indextime which is the time the event was indexed. You can start with a search like this:

... | eval lagSeconds=_indextime - _time | eval bytes=length(_raw)

Now for each event, you have the number of bytes transferred (bytes) and the latency (lagSeconds). You can take it from there.

View solution in original post

woodcock
Esteemed Legend

All events have a field called _indextime which is the time the event was indexed. You can start with a search like this:

... | eval lagSeconds=_indextime - _time | eval bytes=length(_raw)

Now for each event, you have the number of bytes transferred (bytes) and the latency (lagSeconds). You can take it from there.

Get Updates on the Splunk Community!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...