Skip to main content
Version: 5.3

Retrieving Information About Current Groups

GET /serverclasses

Get a list of available groups on the SAF Beat Manager:

curl -k -XGET https://<SAF BM IP-address>:7769/serverclasses

Input Parameters (Headers)

NameTypeDescription
AuthorizationstringLogin and password in base64 format for SAF Beat Manager authorization

Output Parameters

An array of objects in JSON format.

Each object consists of the following parameters:

NameTypeDescription
namestringGroup name
filtersstring arrayList of filters (data about which SAF Beats belong to this group)
systemsstring arrayList of operating systems for which this group is intended
connectedclientsstringNumber of SAF Beats connected to this group

Supported Errors

{
"name": "linux",
"filters": [
"137.12.23.9",
"146.34.32.1",
"133.133.133.130"
],
"apps": [
"filebeat",
"scriptbeat"
],
"systems": [
"linux"
],
"connectedclients": 5
}

GET /serverclasses/<group name>

Get more detailed information about a specific group:

curl -k -XGET https://<SAF BM IP-address>:7769/serverclasses/<group name>

Input Parameters (Headers)

NameTypeDescription
AuthorizationstringLogin and password in Base64 format for SAF Beat Manager authorization

Output Parameters

An array of objects in JSON format.

Each object consists of the following parameters:

NameTypeDescription
namestringGroup name
filtersstring arrayList of filters (data about which SAF Beats belong to this group)
systemsstring arrayList of operating systems for which this group is intended
connectedclientsobject arraySAF Beat connected to this group

Objects in the connectedclients array have the following structure:

NameTypeDescription
ipstringSAF Beat IP address
dnsstringSAF Beat DNS
hostnamestringSAF Beat hostname
systemstringSAF Beat operating system
guidstringSAF Beat unique identifier
timestampstringSAF Beat last connection timestamp

Supported Errors

StatusError ContentDescription
500<error writing response to request>Internal server error
400Group not existA group with the name specified in the URL does not exist

Examples

Output parameters example:

{
"name": "137",
"filters": [
"172.17.0.137"
],
"apps": [
"filebeat_1"
],
"systems": ["windows"],
"connectedclients": [
{
"ip": "172.17.0.137",
"hostname": "Test-Windows",
"dns": "Test-WINDOWS",
"guid": "4a8cd520-8218-4614-a810-a4bd5da307ce",
"system": "windows",
"timestamp": "2020-01-01 00:00:35"
}
]
}