curl --request POST \
--url https://api.coralogix.com/mgmt/openapi/latest/parsing-rules/rule-groups/v1/mapping \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"creator": "<string>",
"description": "<string>",
"enabled": true,
"hidden": true,
"name": "<string>",
"order": 123,
"ruleMatchers": [
{
"applicationName": {
"value": "<string>"
}
}
],
"ruleSubgroups": [
{
"enabled": true,
"order": 123,
"rules": [
{
"description": "<string>",
"enabled": true,
"name": "<string>",
"order": 123,
"parameters": {
"jsonExtractParameters": {
"destinationFieldText": "<string>",
"destinationFieldType": "DESTINATION_FIELD_CATEGORY_OR_UNSPECIFIED",
"rule": "<string>"
}
},
"sourceField": "<string>"
}
]
}
]
}
'{
"ruleDefinition": {}
}No description available
curl --request POST \
--url https://api.coralogix.com/mgmt/openapi/latest/parsing-rules/rule-groups/v1/mapping \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"creator": "<string>",
"description": "<string>",
"enabled": true,
"hidden": true,
"name": "<string>",
"order": 123,
"ruleMatchers": [
{
"applicationName": {
"value": "<string>"
}
}
],
"ruleSubgroups": [
{
"enabled": true,
"order": 123,
"rules": [
{
"description": "<string>",
"enabled": true,
"name": "<string>",
"order": 123,
"parameters": {
"jsonExtractParameters": {
"destinationFieldText": "<string>",
"destinationFieldType": "DESTINATION_FIELD_CATEGORY_OR_UNSPECIFIED",
"rule": "<string>"
}
},
"sourceField": "<string>"
}
]
}
]
}
'{
"ruleDefinition": {}
}API key authentication
Was this page helpful?