Open divgwd opened 7 years ago
@divgwd May i know how did you define your database. am trying to get the anomaly data for my system?
@xylene1980 excepting the "VALUE" column everything else is a Tag .
Thanks @divgwd. So you created a measurement called 'cpu_idle_anomaly' in morgoth database, i believe. It would be great if you could tell me the process of new database and measurement creation since am new to Influx
@xylene1980 yes, It stores only those points that are considered anomalous by morgoth,we then use the points to plot a grafana TS graph as shown in the screen shot . we use raw data and the anomalous points to plot this graph.
Thanks @divgwd
@divgwd Could you please share the select statement output of the 'cpu_idle_anomaly' measurement
That is a snap shot grafana query which is used as the front end visualisation tool
@divgwd Sorry for my trivial questions Are the fields tags & fields in
morgoth.system
and the fields in
morgoth.cpu_idle_anomaly
same?
Can you show me the tag keys and field keys of both the measurements?
yes ,it's the same. excepting the "VALUE" column everything else is a Tag . https://docs.influxdata.com/kapacitor/v1.3//nodes/alert_node/
@divgwd Thanks. I got it now. But one more question , how morgoth.system gets its data from?
Have you worked with kapacitor's tick script before?if not then https://github.com/influxdata/kapacitor/ to get a better idea
@divgwd am new to Kapacitor and learning .... i believe you have a continuous query like TICK script. My doubt is that do you measurement 'system' is an user created table , correct me if i am wrong? Also i just wanted to know , how the measurement 'system' is populated with values... Is it through some job you are inserting data?
@divgwd i figured out thanks
@xylene1980, I have a similar problem. What was your solution?
Hi, I am using morgoth for anomaly detection , kapacitor(running on 9096) is on a different server and the influxdb is on a different server ,after enabling the task i notice that kapacitor is not streaming data. the related info:
kapacitor.conf file:
The kapacitor.log
task output:
kapacitor stats
influxdb subscriptions:
command for defining and enabling task
influxdb data