elastic / uptime

This project includes resources and general issue tracking for the Elastic Uptime solution
12 stars 3 forks source link

Add mappings for test now/run once mode #443

Closed shahzad31 closed 2 years ago

shahzad31 commented 2 years ago

We are adding few fields from UI for test now mode and run once mode.

We are using heartbeat fields api for ingesting those fields

But we should add explicit mapping for those.

So far i have identified following fields

config_id. This is a configId, essentially a kibana saved object id. This is being using in test now mode while adding/editing moniotrs.

test_run_id This is being used in Test now mode from monitor overview list.

run_once boolean field, which is being used in the uptime to filter out test runs from the results.

We will need to add these mappings in the heartbeat as well as in the synthetics integration package.

dominiqueclarke commented 2 years ago

This needs to be added to the Synthetics Integration and released to production before run_once will work in our tech preview clusters.

dominiqueclarke commented 2 years ago

@andrewvc @shahzad31 Do we need to add these mappings to beats as well? Seems to me that this is only applicable for the service.

paulb-elastic commented 2 years ago

This is done