Deployment Architecture

licensing

dani9
Explorer

Hi,

Searching: When a host reaches 1gb memory consumed per day fire an alert?

This will has to be real-time.

 

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @dani9,

there a little confusion:

if you're speaking of licensing, violation is countered once a day at midnight.

if you're speaking of memory usage it's another thing.

If instead you want to have an alert when the license consuption of an host reaches 1 GB (not memory!), you can use one of the searches that you can find in [Settings -- Licensing -- Usage Report]:

index=_internal [`set_local_host`] source=*license_usage.log* type="Usage" earliest=-d@d latest=now
| stats sum(b) as b by h
| eval b=round(b/1024/1024/1024,2)
| where b>1

It isn't a good idea to use a real time alert because it uses too much resources, you could run this alert with a frequency to define (5 minutes, 1 hour, etc...).

Ciao.

Giuseppe

Get Updates on the Splunk Community!

Now Available: Cisco Talos Threat Intelligence Integrations for Splunk Security Cloud ...

At .conf24, we shared that we were in the process of integrating Cisco Talos threat intelligence into Splunk ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Easily Improve Agent Saturation with the Splunk Add-on for OpenTelemetry Collector

Agent Saturation What and Whys In application performance monitoring, saturation is defined as the total load ...