Fortinet white logo
Fortinet white logo

Rest API

7.4.0

Post /settings/integration/security-event-parser/parse-message

Post /settings/integration/security-event-parser/parse-message

Description

Attempts to parse a message using the supplied format and delimiters. On a successful parse of a message, the name/value pairs are returned for the user to use when building a parser.

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiNAC
Content-Type (option 1) application/json String

Content-Type (option 2)

application/xml

Request Body Parameters

Name

Required

Type

message Optional String
format Optional Integer
delimiter Optional String
tagDelimiter Optional String

Sample Request

Request URL

POST https://10.106.94.152:8443/api/v2/settings/integration/security-event-parser/parse-message

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"result": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

}

}

Post /settings/integration/security-event-parser/parse-message

Post /settings/integration/security-event-parser/parse-message

Description

Attempts to parse a message using the supplied format and delimiters. On a successful parse of a message, the name/value pairs are returned for the user to use when building a parser.

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiNAC
Content-Type (option 1) application/json String

Content-Type (option 2)

application/xml

Request Body Parameters

Name

Required

Type

message Optional String
format Optional Integer
delimiter Optional String
tagDelimiter Optional String

Sample Request

Request URL

POST https://10.106.94.152:8443/api/v2/settings/integration/security-event-parser/parse-message

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"result": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

}

}