post
/public_api/v1/integrations/syslog/get
Get a complete or filtered list of syslog servers.
You must have View Alert Notification permissions to run this endpoint.
Request headers
Authorization
String
required
{api_key}
Example:
authorization_example
x-xdr-auth-id
String
required
{api_key_id}
Example:
xXdrAuthId_example
Body parameters
request_dataObject
A dictionary containing the API request fields. An empty dictionary returns all results.
filtersArray
Array of filter fields. Each JSON object must contain a field, operator, and value.
[]
fieldObject (Enum)
String that identifies the syslog server field the filter is matching. Filters are based on the following case-sensitive keywords:
name
id
address
status
Allowed values:"name""id""address""status"
operatorObject (Enum)
String that identifies the comparison operator you want to use for this filter. Valid operator keywords and corresponding filter fields are:
- eq - used with name
, id
, address
, and status
Allowed values:"eq"
valueString
Value that the filter must match. The contents of this field will differ depending on the website field that you specified for this filter:
- name - string
REQUEST BODY
{
"request_data": {
"filters": [
{
"field": "id",
"operator": "eq",
"value": 632
}
]
}
}
CURL
curl -X 'POST'
-H
'Accept: application/json'
-H
'Content-Type: application/json'
-H
'Authorization: authorization_example'
-H
'x-xdr-auth-id: xXdrAuthId_example'
'https://api-yourfqdn/public_api/v1/integrations/syslog/get'
-d
''
Responses