curl --request POST \
--url https://tenant.chronosphere.io/api/v1/config/log-ingest-config \
--header 'API-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'{
"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"
}
}curl --request POST \
--url https://tenant.chronosphere.io/api/v1/config/log-ingest-config \
--header 'API-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'{
"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"
}
}Chronosphere API token
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.
The LogIngestConfig to create.
Show child attributes
A successful response containing the created LogIngestConfig.
LogIngestConfig is a singleton configuration object that specifies the configuration for log ingest.
Show child attributes