patch https://api.bigpanda.io/resources/v2.0/correlation-patterns/
Enrichment V2 Required
The Correlation Patterns API uses the underlying systems of the Enrichment V2 Engine. Your organization must have migrated to Enrichment V2 before using the Correlation API.
DO NOT USE the API without Enrichment V2 enabled or existing V1 Correlation patterns may be damaged.
Sample Calls
curl --request PATCH \
--url https://api.bigpanda.io/resources/v2.0/correlation-patterns/${id} \
--header 'Authorization: Bearer <USER API KEY>' \
--header "Content-Type: application/json" \
--data '{
"tags": [
"service",
"check"
],
"time_window": 60,
"active": true,
"cross_source": false,
"filter": "host= \"api\" AND source_system IN [ \"*\"]",
}'
curl --request PATCH \
--url https://eu-api.bigpanda.io/resources/v2.0/correlation-patterns/${id} \
--header 'Authorization: Bearer <USER API KEY>' \
--header "Content-Type: application/json" \
--data '{
"tags": [
"service",
"check"
],
"time_window": 60,
"active": true,
"cross_source": false,
"filter": "host= \"api\" AND source_system IN [ \"*\"]",
}'