...
The following query will return the first 10 results of hosts which contain the phrase ubuntu OR debian in their hostname (using the /api/devices
route) -
Code Block | ||
---|---|---|
| ||
{
"pageSize": 10,
"sortBy": [
"lastSeen"
],
"page": 0,
"ruleSet": {
"condition": "OR",
"rules": [
{
"field": "host",
"operator": "contains",
"value": "debian"
},
{
"field": "host",
"operator": "contains",
"value": "ubuntu"
}
]
}
} |
...