blackhole
blackhole copied to clipboard
Filter policy for string leftover placeholder
Given:
- An attributes set:
{
"severity": 0,
"message": "blah",
"scope": 1,
"scope": 2,
"z": 0
}
- Pattern
[{scope}] {message}: [{...}] [{...1}].
Need to develop a filtering scheme where the following variants can be configured:
| Type | Result |
|---|---|
| None | [2] blah: ["scope": 1, "scope": 2, "z": 0] ["scope": 1, "scope": 2, "z": 0] |
| Local | [2] blah: ["scope": 2, "z": 0] ["scope": 2, "z": 0] |
| Global | [2] blah: ["z": 0] ["z": 0] |
| Everything | [2] blah: ["z": 0] [] |