Replace an E2M
https://api.coralogix.com/mgmt/openapi/5/events2metrics/events2metrics/v2Updates an existing events-to-metrics rule.
Authorizations
Request
Body
- oneOf
- Option 1
- Option 2
- Option 3
Optional data source in namespace/dataset_name format. If not set, defaults to the standard logs/spans stream.
Possible values: non-empty and <= 300 characters, Value must match regular expression ^[\s\S]*$
my_namespace/my_datasetHuman-readable description of this E2M.
Possible values: <= 2000 characters, Value must match regular expression ^[\s\S]*$
avg and max the latency of catalog serviceUnique identifier for this E2M. Required on update requests.
Possible values: >= 36 characters and <= 36 characters, Value must match regular expression ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
d6a3658e-78d2-47d0-9b81-b2c551f01b09Indicates whether this E2M is for internal use only.
Metric fields to extract and aggregate from the events.
Possible values: <= 10
Metric labels to attach to the generated metrics.
Possible values: <= 10
Human-readable name for this E2M.
Possible values: non-empty and <= 255 characters, Value must match regular expression ^[\s\S]*$
Service_catalog_latencyE2 m type.
Possible values: [E2M_TYPE_UNSPECIFIED, E2M_TYPE_LOGS2METRICS, E2M_TYPE_SPANS2METRICS]
RFC3339 timestamp of when this E2M was last updated.
2022-06-30T12:30:00.000ZResponse
This data structure is obtained when replacing an existing event to metric definition
The e2m.