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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...