Getting Data In

Meassure log amount of Forwarder and create alert

nebel
Communicator

Hi,

I want to create an alert for Forwarder which sending more than 2 GB / day.
I already found this

Community:TroubleshootingIndexedDataVolume

I general it is the right way, but I have a special request which is not covered in Splunk Wiki. I want to count the log amount of hosts which are located in a specific sourcetype. In the example search I just see amount of sourcetype and amount of host. If I would use the host search, I would see all hosts, but I just want to have hosts from a specific sourcetype.

Do you know how I can realize that?

Thank you

Regards

Tags (1)
0 Karma
1 Solution

nebel
Communicator

found it:

index=_internal source=*license_usage.log type=Usage | eval GB=b/1024/1024/1024 | search st="YOUR SOURCETYPE" | timechart span=1d sum(GB) by h useother=false

View solution in original post

0 Karma

nebel
Communicator

found it:

index=_internal source=*license_usage.log type=Usage | eval GB=b/1024/1024/1024 | search st="YOUR SOURCETYPE" | timechart span=1d sum(GB) by h useother=false
0 Karma
Get Updates on the Splunk Community!

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, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...