Monitoring Splunk

Address MAC flapping noise with Splunk

JPrictoe
Loves-to-Learn

Hi All,

Just a general question about best practices/network monitoring. What are some ways to address MAC flapping with Splunk? what are some of the queries people are running to identify and pull reports of multiple interfaces receiving packets from the same source?

Tags (1)
0 Karma
1 Solution

Richfez
SplunkTrust
SplunkTrust

Sounds like you need to fix your network.

Of course, this report you want may go a long way toward convincing people it's broken. 🙂

Because you were asking "generally", I'll give a couple of basic, general answers that hopefully will lead you to what you need. Assume all these are appended to the end of a base search (like index=network sourcetype=blah ...)

... | stats dc(mac_address) AS distinct_MACs BY ip_address

or

... | stats dc(ip_address) AS distinct_IPs BY mac_address

That's where I'd start. You might want to use some variant of sort or top at the end of that, or something else, but it should get you at least the first step.

Happy Splunking,
Rich

View solution in original post

0 Karma

Richfez
SplunkTrust
SplunkTrust

Sounds like you need to fix your network.

Of course, this report you want may go a long way toward convincing people it's broken. 🙂

Because you were asking "generally", I'll give a couple of basic, general answers that hopefully will lead you to what you need. Assume all these are appended to the end of a base search (like index=network sourcetype=blah ...)

... | stats dc(mac_address) AS distinct_MACs BY ip_address

or

... | stats dc(ip_address) AS distinct_IPs BY mac_address

That's where I'd start. You might want to use some variant of sort or top at the end of that, or something else, but it should get you at least the first step.

Happy Splunking,
Rich

0 Karma

JPrictoe
Loves-to-Learn

I'll start there, thanks Rich!

0 Karma
Get Updates on the Splunk Community!

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 ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...