Splunk Search

anomalydetection and anomalousvalues on 4 different hosts

abdulwsu
New Member

Hello,

We are planning to do some linux patching on some of our Prod servers and were thinking of setting some splunk alert which detects and reports any kind of anomalies in our logs after the patching is done. However, I have had varied results with anomalousvalues and anomalydetection. Currently I am using a combination of both. My concern however is, suppose we have 4 hosts under one sourcetype, and all the hosts restart after patching and this is logged in my logs, would splunk treat it as anomaly of each host or club them together and not treat it as an anomaly. I guess, the gist of my question is, can I have anomalydetection for each host without setting an alert for each individual host?

sourcetype="prod_gw" source="/opt/mqm/logs/err01.log" | anomalousvalue |anomalydetection is my current search for alert where sourcetype is a group of 4 hosts.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

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