Monitoring Splunk

Measure incoming network traffic on heavy forwarders

splunkreal
Motivator

Hello, is this query valid to check incoming network traffic to heavyforwarders?

index=_internal source=*metrics.log* group=tcpin_connections (host=s*HF*) | eval mb=floor(kb/1024) | timechart sum(mb) as mb span=5min useother=f usenull=f by host

Thanks.

* If this helps, please upvote or accept solution if it solved *
0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @splunkreal 

You want to use 'hostname' not host in that search:

index=_internal source=*metrics.log* group=tcpin_connections (hostname=s*HF*) 
| eval mb=(kb/1024) 
| timechart sum(mb) as mb span=5min useother=f usenull=f by hostname

Using wildcards within a value isnt recommended but wont stop your search running.

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

splunkreal
Motivator

Hi @livehybrid @PickleRick  doesn't seem to work with HEC port (8088)

* If this helps, please upvote or accept solution if it solved *
0 Karma

PickleRick
SplunkTrust
SplunkTrust

Yes. HEC data should be IIRC listed in another group (http_connections?)

0 Karma

PickleRick
SplunkTrust
SplunkTrust

Actually, a wildcard within a searched term can lead to wrong results. Depends whether the term contains breakers.

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Your Guide to Splunk Digital Experience Monitoring

A flawless digital experience isn't just an advantage, it's key to customer loyalty and business success. But ...

Data Management Digest – November 2025

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