Welcome to the New BigPanda API Documentation
bpql parameter — a BigPanda Query Language (BPQL) filter expressed as a JSON object. This is different from the BPQL string form used to search and filter inside the BigPanda UI. Use the JSON object form described here whenever an endpoint requires a bpql parameter, for example when creating a maintenance plan.{ "<operator>": ["<tag>", "<value>"] }| Operator | BPQL string | BPQL object |
|---|---|---|
| equal | host = prod-api-1 | {"=": ["host", "prod-api-1"]} |
| not equal | host != prod-api-1 | {"!=": ["host", "prod-api-1"]} |
| strong equal | host === prod-api-1 | {"===": ["host", "prod-api-1"]} |
| in | host IN [prod-api-1,prod-api-2] | {"IN": ["host", ["prod-api-1", "prod-api-2"]]} |
| not in | host NOT IN [prod-api-1,prod-api-2] | {"NOT IN": ["host", ["prod-api-1", "prod-api-2"]]} |
AND or OR:{ "AND": [
{"=": ["host", "prod-api-1"]},
{"=": ["check", "cpu"]}
] }| Form | Example string | Example object |
|---|---|---|
| Wildcard | host = prod-api-* | {"=": ["host", {"type": "regex", "value": "prod-api-*"}]} |
| Regex | host = /prod-api-.*/ | {"=": ["host", {"type": "formal-regex", "value": "prod-api-.*"}]} |
Wildcard limitation for environments Environment conditions do not support wildcards with the INandNOT INoperators.