Events2Metrics Service
Get an E2M
Returns the details of the specified events-to-metrics rule.
get/events2metrics/events2metrics/v2/{id}
Request
- Base URL: https://api.eu1.coralogix.com/mgmt/openapi/5
- URL: https://api.eu1.coralogix.com/mgmt/openapi/5/events2metrics/events2metrics/v2/{id}
- Auth: API key in header Authorization
Response
Example response
{
"e2m": {
"createTime": "2022-06-30T12:30:00.000Z",
"dataSource": "my_namespace/my_dataset",
"description": "avg and max the latency of catalog service",
"id": "d6a3658e-78d2-47d0-9b81-b2c551f01b09",
"logsQuery": {
"alias": "new_query",
"applicationnameFilters": [
"app_name"
],
"lucene": "log_obj.numeric_field: [50 TO 100]",
"subsystemnameFilters": [
"sub_name"
]
},
"metricFields": [
{
"aggregations": [
{
"histogram": {
"buckets": [
2
]
},
"targetMetricName": "alias_field_name_agg_func"
}
],
"sourceField": "log_obj.numeric_field",
"targetBaseMetricName": "alias_field_name"
}
],
"metricLabels": [
{
"sourceField": "log_obj.string_value",
"targetLabel": "alias_label_name"
}
],
"name": "Service_catalog_latency",
"permutations": {
"limit": 30000
},
"spansQuery": {
"actionFilters": [
"myAction"
],
"applicationnameFilters": [
"myApp"
],
"lucene": "applicationName:myApp",
"serviceFilters": [
"myService"
],
"subsystemnameFilters": [
"mySubsystem"
]
},
"updateTime": "2022-06-30T12:30:00.000Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.