Skip to main content
GET
/
api
/
v1
/
config
/
log-control-config
{
  "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"
  }
}

Authorizations

API-Token
string
header
required

Chronosphere API token

Response

A successful response.

log_control_config
object

LogControlConfig is a singleton configuration object that specifies the configuration for log control.