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!

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...