I have a machine that is not being monitored anymore, since 15 january. but I can still do a forecast, is there a way to handle this? other than to do a delete by query on the ML index?
Handle what exactly? Your question is not very clear. Please elaborate.
how to not include from forecast the machines that are not being monitored anymore, the ones that do not receive data, because even if you dont get data for two month you can do a forecast.
Ah okay - now I understand. So really, the model needs to be pruned to forget those entities that don't need to be modeled anymore.
I could be wrong, but I think that the only way to manually invoke a pruning of the model is to close the job and then re-open it.
When you close a job, it runs housekeeping tasks such as pruning the model history, flushing buffers, calculating final results and persisting the model snapshots. Depending upon the size of the job, it could take several minutes to close and the equivalent time to re-open.
Perhaps you could give that a try?
Didnt work, closed the job an re-opened it, but still creates a forecast
I guess the only solution left is delete by query
I see - that's unfortunate. Well, delete-by-query isn't practical either as references to the entities are intertwined in large state documents in .ml-state
The only practical answer at this point is to either:
a) continue as-is, but build a mechanism to ignore the forecasts for entities that don't exist anymore
b) clone the job and start over, being sure to only look back in time long enough to get some good historical learning, but not too far back to pick up references to entities that you no longer want.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.