Skip to main content
Get Rule Group Model Mapping
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": {}
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json
creator
string
description
string
enabled
boolean
hidden
boolean
name
string
order
integer<int64>
ruleMatchers
object[]
ruleSubgroups
object[]

Response

ruleDefinition
object