Skip to main content

Create Rule Group

POSThttps://api.eu1.coralogix.com/mgmt/openapi/5/parsing-rules/rule-groups/v1

Creates a new parsing rule group.

Authorizations

Authorizationstringheaderrequired
API key authentication

Request​

Body

application/json

Request to create a new parsing rule group. Update takes the same body and replaces the whole group: a field that the request omits takes its default.

    creator#string

    Free-form name of the creator. The service stores it as sent. Defaults to an empty string.

    description#string

    Human-readable description. Defaults to an empty string.

    enabled#boolean

    Whether the group is enabled. Defaults to true.

    Default value: true
    hidden#boolean

    A free-form flag for clients, for example to hide the group in a UI. The service stores and returns it and does not act on it. Defaults to false.

    Default value: false
    name#stringrequired

    Display name. Must not be empty.

    Possible values: non-empty

    order#int64

    Rank of the group among the rule groups of the company. Defaults to 1 when a request omits it. A request with 0 places the group last. Creating or updating a group does not shift the other groups, and groups can share an order: concurrent create requests can receive the same order. The service renumbers the groups later: deleting a group lowers the order of every group with a higher order by 1, and reordering the groups in the Coralogix UI sets the order of every group to its position, 1 to N. Do not treat an order that a client sent as stable: read it from a get or list response.

    Possible values: >= 0

    Default value: 1

    The rule matchers.

    The rule subgroups. At least one.

    Possible values: >= 1

    Ignored. The service takes the team from the credentials of the request.

Response

application/json

Response returned after successfully creating a parsing rule group.

    Rule group. Every scalar field except creator is always returned.