Splunk Dev

Calculate and display jump in connections

MikeElliott
Communicator

Hi all,

I have written a search that will list the "average daily connections" originating from a source ip address, as well as listing the "actual daily connections" from a source ip address.

I was wondering how I would write a statement at the end to only return results where the "actual daily connections" is 3 times (3*) the "average daily connections".

For example:

| where "Actual_Daily_Connections" >= 3*("Average_Daily_Connections")

Any assistance would be greatly appreciated 🙂

0 Karma
1 Solution

MikeElliott
Communicator

I managed to resolve it on my own - I used the below:

|where Actual_Daily_Connections >= (3*Average_Daily_Connections)

I don't think I can mark my own answer, so a mod/admin can close this when seen.

View solution in original post

0 Karma

MikeElliott
Communicator

I managed to resolve it on my own - I used the below:

|where Actual_Daily_Connections >= (3*Average_Daily_Connections)

I don't think I can mark my own answer, so a mod/admin can close this when seen.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Yes, you are allowed to answer your questions and accept the answers. You have to answer the question, however, not reply to it. I've converted your reply to an answer so you can accept it.

---
If this reply helps you, Karma would be appreciated.
0 Karma

MikeElliott
Communicator

@richgalloway - Thanks! 🙂

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...