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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...