in the App for Infrastructure this search returns results for 1x Linux and 1x Windows host. So I assume data is coming in as expected:
| mstats latest(_value) WHERE index=em_metrics metric_name=* BY host, entity_type
However, the windows host does not show up as entity in the investigate tab while the linux host does.
And it is missing here as well:
| inputlookup em_entities
Anyone has an idea what could be wrong here?
SAI 2.1.0+ has replaced collectors.conf with entity_classes.conf
Can you answer some questions:
There are only Process.* metrics available so far.
The latest timestamp with data for this host is 1min ago.
I have SAI 2.0.3 in use.
In another environment the similar problem occured and here the increase of "monitoring_calculation_window" did the trick. Could you explain what is exactly done with this value?
You need Processor.* metrics for Windows entity discovery. Are they disabled in your inputs.conf.
monitoring_calculation_window is how many seconds to look in past for the new entity. It was set to 90 sec. If there is some data lag of more than 90 sec, entity won't be discovered. Solution is to increase this number if not working for you.