curl --request GET \
--url https://tenant.chronosphere.io/api/v1/config/log-control-config \
--header 'API-Token: <api-key>'{
"log_control_config": {
"created_at": "2023-11-07T05:31:56Z",
"rules": [
{
"drop_field": {
"field_regex": "<string>",
"parent_path": {
"selector": "<string>"
}
},
"emit_metrics": {
"mode": "COUNTER",
"name": "<string>",
"counter": {
"value": {
"selector": "<string>"
}
},
"drop_log": true,
"gauge": {
"value": {
"selector": "<string>"
},
"aggregation_type": "LAST"
},
"histogram": {
"value": {
"selector": "<string>"
}
},
"labels": [
{
"key": "<string>",
"value": {
"selector": "<string>"
}
}
]
},
"filter": "<string>",
"mode": "ENABLED",
"name": "<string>",
"replace_field": {
"field": {
"selector": "<string>"
},
"replace_mode": "HASH",
"replace_regex": "<string>",
"mapped_value": {
"default_value": "<string>",
"pairs": [
{
"key": "<string>",
"value": "<string>"
}
],
"use_default": true
},
"replace_all": true,
"static_value": {
"value": "<string>"
}
},
"sample": {
"rate": 123
},
"type": "DROP"
}
],
"updated_at": "2023-11-07T05:31:56Z"
}
}curl --request GET \
--url https://tenant.chronosphere.io/api/v1/config/log-control-config \
--header 'API-Token: <api-key>'{
"log_control_config": {
"created_at": "2023-11-07T05:31:56Z",
"rules": [
{
"drop_field": {
"field_regex": "<string>",
"parent_path": {
"selector": "<string>"
}
},
"emit_metrics": {
"mode": "COUNTER",
"name": "<string>",
"counter": {
"value": {
"selector": "<string>"
}
},
"drop_log": true,
"gauge": {
"value": {
"selector": "<string>"
},
"aggregation_type": "LAST"
},
"histogram": {
"value": {
"selector": "<string>"
}
},
"labels": [
{
"key": "<string>",
"value": {
"selector": "<string>"
}
}
]
},
"filter": "<string>",
"mode": "ENABLED",
"name": "<string>",
"replace_field": {
"field": {
"selector": "<string>"
},
"replace_mode": "HASH",
"replace_regex": "<string>",
"mapped_value": {
"default_value": "<string>",
"pairs": [
{
"key": "<string>",
"value": "<string>"
}
],
"use_default": true
},
"replace_all": true,
"static_value": {
"value": "<string>"
}
},
"sample": {
"rate": 123
},
"type": "DROP"
}
],
"updated_at": "2023-11-07T05:31:56Z"
}
}