Every bucket is displayed as a single point in the Kibana UI, exactly at xx:00:00
Here's the info you asked for:
Job config:
Detectors
count
Analysis Config
bucket_span: 60m
summary_count_field_name: doc_count
Data Description
time_field: timestamp
time_format: epoch_ms
Datafeed config:
datafeed_id: datafeed-<jobid>
job_id: <jobid>
query_delay: 1800s
frequency: 600s
indices: <index>
types: <types>
query: {"match_all":{"boost":1}}
aggregations: {"buckets":{"date_histogram":{"field":"timestamp","interval":900000,"offset":0,"order":{"_key":"asc"},"keyed":false,"min_doc_count":0},"aggregations":{"timestamp":{"max":{"field":"timestamp"}}}}}
scroll_size: 1000
chunking_config: {"mode":"manual","time_span":"600000000ms"}
state: stopped
This is the data for the latest bucket following a revert
{
"job_id": "<jobid>",
"timestamp": 1510063200000,
"anomaly_score": 0,
"bucket_span": 3600,
"initial_anomaly_score": 0,
"event_count": 159,
"is_interim": false,
"bucket_influencers": [],
"processing_time_ms": 6,
"result_type": "bucket"
},
Also, since the initial weirdness only happens once, I reproduced it on another job (same settings, different index) and tracked the specific bucket surrounding the snapshot time :
Model snapshot data:
"latest_record_time_stamp": 1509464352000,
"latest_result_time_stamp": 1509462000000,
Before revert:
{
"job_id": "<jobid2>",
"timestamp": 1509462000000,
"anomaly_score": 0,
"bucket_span": 3600,
"initial_anomaly_score": 0,
"event_count": 12428,
"is_interim": false,
"bucket_influencers": [],
"processing_time_ms": 2,
"result_type": "bucket"
},
Right after revert:
{
"job_id": "<jobid2>",
"timestamp": 1509462000000,
"anomaly_score": 0,
"bucket_span": 3600,
"initial_anomaly_score": 0,
"event_count": 12428,
"is_interim": false,
"bucket_influencers": [],
"processing_time_ms": 2,
"result_type": "bucket"
},
After restarting the datafeed:
{
"job_id": "<jobid2>",
"timestamp": 1509462000000,
"anomaly_score": 0,
"bucket_span": 3600,
"initial_anomaly_score": 0,
"event_count": 7598,
"is_interim": false,
"bucket_influencers": [],
"processing_time_ms": 2,
"result_type": "bucket"
},
As you can see, the event_count was still high after the revert and decreased after the datafeed start.