Parsers

Parsers - Check

Checks the regex pattern.

POST

https://api-server-host-name/configapi/{pool_UUID}/{logpoint_identifier}/Parsers/check

Parameters

Field
Label in UI
Type
Description

example

Example

String

Sample value to match with the pattern parameter. Mandatory Field

name

Name

String

Name of parser. Mandatory Field

pattern

Pattern

String

Regex pattern. Mandatory Field

Request Example

{
    "data": {
        "example": "\"123\"",
        "name": "testName",
        "pattern": "\"[0-9]{3}\""
    }
}

Success Response

Parsers - Create

Creates a new Parser.

POST

Parameters

Field
Label in UI
Type
Description

example

Example

String

Sample value to match with the pattern parameter. Mandatory Field

name

Name

String

Name of the parser. Mandatory Field

pattern

Pattern

String

Regex pattern. Mandatory Field

Request Example

Success Response

Parsers - Edit

Edits a parser.

PUT

Parameters

Field
Label in UI
Type
Description

example

Example

String

Sample value to match. Mandatory Field

id

-

String

Existing parser id. Mandatory Field

pattern

Pattern

String

Regex pattern. Mandatory Field

Request Example

Success Response

Parsers - Get

Fetches a Parser with given ID.

GET

Parameters

Field
Label in UI
Type
Description

id

-

String

Existing Parser id.

Success Response

Parsers - List

Lists all Parsers.

GET

Success Response

Parsers - Trash

Deletes a regex pattern with given ID.

DELETE

Parameters

Field
Label in UI
Type
Description

id

-

String

Existing parser id. Mandatory Field

Success Response

Last updated

Was this helpful?