Splunk Search

How to find changing serial numbers?

splunk_enjoyer
Explorer

Hello Splunk Enjoyers! I have problem

Information about routers arrives every minute, so 

What I have:  name_of_router and serial_number of client on index = routers

What i want: i want to make alert, if serial_number has changed. 

How should i do this?

@splunk 

 

 

Labels (2)
Tags (3)
0 Karma

splunk_enjoyer
Explorer

@ITWhisperer thanks! its work!

and how can i result serial number and serial_number where serial_number >1? not count

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

If you want to keep the events, use eventstats

| eventstats dc(serial_number) as count by name
| where count > 1
0 Karma

splunk_enjoyer
Explorer

@ITWhisperer  its works! 

so how can i result events where serial number had changed, not count

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Can you share some depersonalised events in a code block </>

0 Karma

splunk_enjoyer
Explorer

for example: 

| table name serial_number

result:

name            | serial_number 

cisco1          |   ABC123456

cisco1          |  cdf95959595

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| stats dc(serial_number) as count by name
| where count > 1
Get Updates on the Splunk Community!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

  Ready to master Kubernetes and cloud monitoring like the pros?Join Splunk’s Growth Engineering team for an ...

Wrapping Up Cybersecurity Awareness Month

October might be wrapping up, but for Splunk Education, cybersecurity awareness never goes out of season. ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

&#x1f5e3; You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...