-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Closed
Labels
Feature:StreamsThis is the label for the Streams ProjectThis is the label for the Streams ProjectTeam:obs-ux-logsObservability Logs User Experience TeamObservability Logs User Experience TeambugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experience
Description
Stream rules are still active when deleting a stream indirectly via its parent. Might be good to move asset handling in the state management api
Example
// Create nested stream with a query
PUT kbn:/api/streams/logs.foo.bar
{
"stream": {
"description": "",
"ingest": {
"processing": [],
"lifecycle": {
"inherit": {}
},
"wired": {
"fields": {},
"routing": []
}
}
},
"dashboards": [],
"queries": [
{
"id": "foo",
"title": "foo",
"kql": {
"query": "message: hello"
}
}
]
}
// The corresponding rule is deleted when deleting logs.foo.bar directly
DELETE kbn:/api/streams/logs.foo.bar // OK
// but it is not deleted when deleting via a parent
DELETE kbn:/api/streams/logs.foo // rule still exists
Metadata
Metadata
Assignees
Labels
Feature:StreamsThis is the label for the Streams ProjectThis is the label for the Streams ProjectTeam:obs-ux-logsObservability Logs User Experience TeamObservability Logs User Experience TeambugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experience