Getting Data In

Command to filter out repeated item.

Kai191
New Member

I would like to know what is the command filter out repeat source port if I wanna analyse my log based on number of port being access per min.

Current command is: sourcetype="Lv30814" | stats count(Source_Port)

Tags (1)
0 Karma
1 Solution

kristian_kolb
Ultra Champion

If you want to find the number of different ports seen in 1 minute spans - regardless of how many times each port occurs;

your base search | timechart span=1m dc(Source_Port)

/K

View solution in original post

0 Karma

kristian_kolb
Ultra Champion

If you want to find the number of different ports seen in 1 minute spans - regardless of how many times each port occurs;

your base search | timechart span=1m dc(Source_Port)

/K

0 Karma

Kai191
New Member

Thank You!

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