Skip to content

Top erroring nodes for an environment

GET
/api/v1/stats/activity/error-nodes/{env}
curl --request GET \
--url https://osctrl.net/api/v1/stats/activity/error-nodes/example \
--header 'Authorization: <Authorization>'

Returns nodes with the most ERROR-severity osquery status logs.

env
required
string

Environment name or UUID

days
integer

Days of history (default 1)

OK

Media typeapplication/json
Array<object>
object
errors
integer
hostname
string
uuid
string
Examplegenerated
[
{
"errors": 1,
"hostname": "example",
"uuid": "example"
}
]

Unauthorized

Media typeapplication/json
object
code
string
error
string
Examplegenerated
{
"code": "example",
"error": "example"
}

Forbidden

Media typeapplication/json
object
code
string
error
string
Examplegenerated
{
"code": "example",
"error": "example"
}

Not found

Media typeapplication/json
object
code
string
error
string
Examplegenerated
{
"code": "example",
"error": "example"
}

Service unavailable

Media typeapplication/json
object
code
string
error
string
Examplegenerated
{
"code": "example",
"error": "example"
}