API Documentation

Last Update: 28 December 2022

POST api/SystemLogDefinitionCustom



Request Information


URI Parameters

None.


Body Parameters
SystemSchemaFormModel
Name Description Type Additional information
systemLogDefinitionCustom

SystemLogDefinitionCustom

None.

mappers

Collection of Mapper

None.

liner

Liner

None.

replacer

Collection of Replacer

None.

filters

Collection of Filter

None.

systemLogSettings

SystemLogSettings

None.

dateextractor

DateExtractor

None.

oidMap

string

None.

request

string

None.

retention

integer

None.

EnabledParser

integer

None.

EnabledMultiline

integer

None.

EnabledMask

integer

None.

EnabledSkip

integer

None.

EnabledDateExtractor

integer

None.

EnabledFilterMode

integer

None.

EnabledEncoding

integer

None.

category

string

None.

startdate

integer

None.

timezone

integer

None.

timezonemode

integer

None.

encoding

integer

None.

pattern

string

None.

Mode

integer

None.

Request Formats
application/json, text/json
Sample:
{
  "systemLogDefinitionCustom": {
    "$id": "2",
    "ID": 1,
    "Name": "sample string 2",
    "Critical": true,
    "Error": true,
    "Warning": true,
    "Information": true,
    "EventID": "sample string 7",
    "Keyword": "sample string 8",
    "DefinitionID": 9,
    "Type": 10,
    "Notes": "sample string 11",
    "HostType": 64,
    "LogType": 64,
    "RecordStatus": 13,
    "Mode": 14,
    "UserID": 15,
    "ParentGroup": 16
  },
  "mappers": [
    {
      "$id": "3",
      "index": 1,
      "type": 2,
      "field": "sample string 3",
      "title": "sample string 4",
      "value": "sample string 5",
      "regex": "sample string 6",
      "select": true
    },
    {
      "$ref": "3"
    }
  ],
  "liner": {
    "$id": "4",
    "regex": "sample string 1",
    "type": 2
  },
  "replacer": [
    {
      "$id": "5",
      "regex": "sample string 1",
      "source": "sample string 2",
      "type": 3,
      "replacement": "sample string 4"
    },
    {
      "$ref": "5"
    }
  ],
  "filters": [
    {
      "$id": "6",
      "regex": "sample string 1",
      "source": "sample string 2",
      "type": 3
    },
    {
      "$ref": "6"
    }
  ],
  "systemLogSettings": {
    "$id": "7",
    "id": 1,
    "type": 2,
    "schema": "sample string 3",
    "definitionid": 4,
    "definitiontype": 5,
    "recordstatus": 6,
    "recorddate": "2024-11-21T06:20:54.0545511+00:00",
    "sampledata": "sample string 8"
  },
  "dateextractor": {
    "$id": "8",
    "regex": "sample string 1",
    "layout": "sample string 2",
    "example": "sample string 3",
    "type": 4
  },
  "oidMap": "sample string 1",
  "request": "sample string 2",
  "retention": 3,
  "EnabledParser": 4,
  "EnabledMultiline": 5,
  "EnabledMask": 6,
  "EnabledSkip": 7,
  "EnabledDateExtractor": 8,
  "EnabledFilterMode": 9,
  "EnabledEncoding": 10,
  "category": "sample string 11",
  "startdate": 12,
  "timezone": 13,
  "timezonemode": 14,
  "encoding": 15,
  "pattern": "sample string 16",
  "Mode": 17
}

Response Information


Resource Description
SystemLogDefinitionCustom
Name Description Type Additional information
ID

integer

None.

Name

string

None.

Critical

boolean

None.

Error

boolean

None.

Warning

boolean

None.

Information

boolean

None.

EventID

string

None.

Keyword

string

None.

DefinitionID

integer

None.

Type

integer

None.

Notes

string

None.

HostType

byte

None.

LogType

byte

None.

RecordStatus

integer

None.

Mode

integer

None.

UserID

integer

None.

ParentGroup

integer

None.

Response Formats
application/json, text/json
Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "Critical": true,
  "Error": true,
  "Warning": true,
  "Information": true,
  "EventID": "sample string 7",
  "Keyword": "sample string 8",
  "DefinitionID": 9,
  "Type": 10,
  "Notes": "sample string 11",
  "HostType": 64,
  "LogType": 64,
  "RecordStatus": 13,
  "Mode": 14,
  "UserID": 15,
  "ParentGroup": 16
}