Objective:- Need prediction alert from kibana on metricbeat data?
Hi,
I've setup metricbeat 100+ servers and data is reporting, also I've created some anomaly jobs to identify anomalies and alert critical anomalies. now want to schedule the forecast and based on forecast data need threshold-based alerting.
Please suggest the steps and methodologies to achieve the given objective.
thanks for replying
I already have set up these anomaly alerts based on running data. but the objective is to create a predictive alert like "In next 2 days/hours hostname=xyz disk/CPU/memory utilization will be 80% " so the user can take action before the anomaly occurred.
At the moment there is no easy way to set up the forecasting alerts you're referring to. As a workaround I can suggest the following:
Create forecast jobs using the Machine Learning plugin in Kibana or with API
Set up the index threshold alerting rule type. You need to query the .ml-anomalies-* index for result_type:model_forecast with desired job IDs (potentially filter for partition, over or by fields), time range and checking a threshold value against forecast_prediction.
You will also need something for scheduling forecast yourself, wich is the most difficult part here. Utilizing the Kibana task manager might help.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.