Create a new E2M
https://api.coralogix.com/mgmt/openapi/5/events2metrics/events2metrics/v2Creates a new 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.
my_namespace/my_datasetHuman-readable description for the new E2M.
avg and max the latency of catalog serviceMetric fields to create and aggregate from the events.
Metric labels to attach to the generated metrics.
Maximum number of unique metric permutations allowed for this E2M.
30000E2 m type.
Possible values: [E2M_TYPE_UNSPECIFIED, E2M_TYPE_LOGS2METRICS, E2M_TYPE_SPANS2METRICS]
Response
Create e2m response.
- Option 1
- Option 2
- Option 3
RFC3339 timestamp of when this E2M was created.
2022-06-30T12:30:00.000ZOptional data source in namespace/dataset_name format. If not set, defaults to the standard logs/spans stream.
my_namespace/my_datasetHuman-readable description of this E2M.
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-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-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.
E2 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.000Z