Skip to main content
POST
/
api
/
v1
/
config
/
log-ingest-config
{
  "log_ingest_config": {
    "created_at": "2023-11-07T05:31:56Z",
    "field_normalization": {
      "custom_field_normalization": [
        {
          "normalization": {
            "default_value": "<string>",
            "sanitize_patterns": [
              "<string>"
            ],
            "source": [
              {
                "selector": "<string>"
              }
            ],
            "value_map": {}
          },
          "target": "<string>"
        }
      ],
      "message": {
        "default_value": "<string>",
        "sanitize_patterns": [
          "<string>"
        ],
        "source": [
          {
            "selector": "<string>"
          }
        ],
        "value_map": {}
      },
      "primary_key": {
        "normalization": {
          "default_value": "<string>",
          "sanitize_patterns": [
            "<string>"
          ],
          "source": [
            {
              "selector": "<string>"
            }
          ],
          "value_map": {}
        },
        "target": "<string>"
      },
      "severity": {
        "default_value": "<string>",
        "sanitize_patterns": [
          "<string>"
        ],
        "source": [
          {
            "selector": "<string>"
          }
        ],
        "value_map": {}
      },
      "timestamp": {
        "source": [
          {
            "selector": "<string>"
          }
        ]
      }
    },
    "field_parsers": [
      {
        "destination": {
          "selector": "<string>"
        },
        "mode": "ENABLED",
        "parser": {
          "key_value_parser": {
            "delimiter": "<string>",
            "pair_separator": "<string>",
            "trim_set": "<string>"
          },
          "parser_type": "JSON",
          "regex_parser": {
            "regex": "<string>"
          }
        },
        "source": {
          "selector": "<string>"
        }
      }
    ],
    "plaintext_parsers": [
      {
        "keep_original": true,
        "mode": "ENABLED",
        "name": "<string>",
        "parser": {
          "key_value_parser": {
            "delimiter": "<string>",
            "pair_separator": "<string>",
            "trim_set": "<string>"
          },
          "parser_type": "JSON",
          "regex_parser": {
            "regex": "<string>"
          }
        }
      }
    ],
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

API-Token
string
header
required

Chronosphere API token

Body

application/json
dry_run
boolean

If true, validates the specified configuration without creating the LogIngestConfig. If the specified configuration is valid, the endpoint returns a partial response without the LogIngestConfig. If the specified configuration is invalid, the endpoint returns an error.

log_ingest_config
object

The LogIngestConfig to create.

Response

A successful response containing the created LogIngestConfig.

log_ingest_config
object

LogIngestConfig is a singleton configuration object that specifies the configuration for log ingest.