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!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...