Splunk Search

help with search request

templier
Communicator

Hello.

Just starting to deal with complex query to splank, there is now a need to make a request that would be deduced from the log ip addresses that connect more than two users.

Is it possible?

Thank you.

Tags (2)
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

You can do this:

sourcetype=your_sourcetype | eventstats dc(user) as dc_user by clientip | where dc_user > 2

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

You can do this:

sourcetype=your_sourcetype | eventstats dc(user) as dc_user by clientip | where dc_user > 2

templier
Communicator

Perfect!
Exactly, what was needed. Now he is going to read the documentation and learn search.

Thank you!

0 Karma

templier
Communicator

hello, example:

*xxx.xxx.xxx.xxx* - *user@domain.ru* [13/Jul/2014:04:02:27 +0400] "GET /src/?_task=mail&_action=check-recent&_mbox=INBOX&_list=1&_quota=1&_remote=1&_unlock=0&_=1405209744809 HTTP/1.1" 200 260

I need to display ip addresses (name - clientip) in log which was at over 2-3 user email (name in log - user)

0 Karma

strive
Influencer

Yes it is possible. If you could provide little more details like sample log events, we can help you to write the search.

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...