Skip to main content
Create Rule Group
curl --request POST \
  --url https://api.coralogix.com/mgmt/openapi/latest/parsing-rules/rule-groups/v1 \
  --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>"
        }
      ]
    }
  ],
  "teamId": {
    "id": 123
  }
}
'
{
  "ruleGroup": {
    "creator": "<string>",
    "description": "<string>",
    "enabled": true,
    "hidden": true,
    "id": "<string>",
    "name": "<string>",
    "order": 123,
    "ruleMatchers": [
      {
        "applicationName": {
          "value": "<string>"
        }
      }
    ],
    "ruleSubgroups": [
      {
        "enabled": true,
        "id": "<string>",
        "order": 123,
        "rules": [
          {
            "description": "<string>",
            "enabled": true,
            "id": "<string>",
            "name": "<string>",
            "order": 123,
            "parameters": {
              "jsonExtractParameters": {
                "destinationFieldText": "<string>",
                "destinationFieldType": "DESTINATION_FIELD_CATEGORY_OR_UNSPECIFIED",
                "rule": "<string>"
              }
            },
            "sourceField": "<string>"
          }
        ]
      }
    ]
  }
}

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[]
teamId
object

Response

ruleGroup
object