in splunk there is always this icon next to your user for the "Health of Splunk Deployment".
You can change these indicators and futures or their teshholds, but I can't find anything about what splunk actually does in the background to collect these values.
You can find something like this in health.conf:
Do you guys still experiencing this error?
I can't get rid of it, event it looks everything's fine on my instance and OS.
THP are disabled.
Health Check does not report any issue with limits.
CPU usage is fine.
RAM usage is fine.
IOwait on disk is also fine.
Max measured values in the past 24h.
Nope for me I decide to adjust the threshold or disable this health check because it´s meaningless without documentation to find out how and how often splunk will check this iowait.
In generell I have no problems with my systems my searches are fast and I have no indexing delay so I think if you are interested in this the best option is to create a support case. I can´t find any searches which creates this data I think there is a "hidden" scripted input for this.
You can go to Settings --> "Health Report Manager" and then just search for iowait here you can enable the alert or edit the thresholds.
Or you can use the health.conf and copy the stanza to system local like:
See and control what is in the health report using the Health Report Manager at https://<localhost>:8000/en-US/manager/system/health/manager
You can read about the health report at https://docs.splunk.com/Documentation/Splunk/8.1.2/DMC/Aboutfeaturemonitoring?ref=hk
Yes this is ok, but if I take a look to /en-US/manager/system/health/manager or the documentation I found nothing about the calculation for the threshold and the link to the feature monitorings also don´t provide any information these data and calculation or I am blind.
Maybe two examples:
In this Screenshot you can see the an error and some related INFO messages for this behavior to understand why this indicator is yellow or red.
So I expect there is an alert savedsearch or something else like index=_internal sourcetype=splunkd component="CMMaster" "streaming error" | stats count as count | eval thresshold=if(count<10,"yellow","red")
If you don´t have the information why the indicator is red or yellow the meaning of the indicator can be everything
2. You got an error like this:
So how do you troubleshoot this warning or error? The only information you have is "System iowait reached yellow threshold of 1" , but I can not find anything on which data splunk calculates this information or how this data was generated.
The only thing I can find is the settings of the thresholds, but nothing about the calculation for these threshholds what makes an alert for me meaningsless
I understand what you're asking for now. I think you'll find the information you seek in $SPLUNK_HOME/etc/system/default/health.conf.
Unfortunately no, in this configuration you can only see what the indicator should stand for, but not how the data is collected and evaluated, but I have made some progress and I was able to find out that in the app splunk_instrumentation the following searches are for it:
And in the currentState search is the join to the data from the health.log for the Treshhold
index=_internal earliest=-1d source=*health.log component=PeriodicHealthReporter node_path=splunkd.resource_usage.iowait
In this case you can replace the iowait with the feature you want to look at in more detail
The last step that is still missing is how splunk generates the health.log, since the state is already created in this case for the evaluation.