Splunk Search

results greater then a stat's column

brandonpal
Explorer

Splunk big time NOOB here.

I'm trying to find IP's that are logging into our FTP server with more then one FTP User Name.

Here is my sarch string: index="ftp" client!="10...*" earliest=-24h | stats dc(FTPUser) by client | rename "dc(FTPUser)" AS "User"

The above works great and is showing me how many ftp accounts each ip is using.

Now I'd like to only see logins that are greater then 1. I tried adding | search FTPUser>1 but that does not work.

Any help would be greatly appreciated.

Thank you,

Brandon

Tags (2)
0 Karma
1 Solution

aelliott
Motivator
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Appending that search command would have worked if you had used the same field name as in the rename command 😛

0 Karma

aelliott
Motivator

| where User > 1

0 Karma

brandonpal
Explorer

That works great thank you. Is there a way I can get it to show me the User name's instead of a number. I know if I client the client ip it will show me usernames but any way to see it on my search screen?

0 Karma
Get Updates on the Splunk Community!

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...