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!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...