summaryrefslogtreecommitdiffstats
path: root/examples/legacy-filter/column-integration.json
blob: 474031fd366b7903a173637f071ae5ae084a4530 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
  NOTE: this is a JSON file with comments. You might not be able to parse it, depending on the implementation!

  These are the filter features mapped by the edbColumn.js integration.

  See https://git.netways.org/eventdb/eventdb/blob/master/icinga-cronk/EventDB/lib/js/edbColumn.js
*/
{
  "hostFilter": {
    // Note: `data.host` is by default the hostname, unless set in edb_filter
    "include_pattern": "{{mapped from data.host}}",
    "include_pattern_type": "regexp",
    "exclude_pattern_type": "disabled",
    "exclude_pattern": false,
    "include_set": [],
    "exclude_set": []
  },
  "programFilter": {
    "include_pattern": false,
    "include_pattern_type": "disabled",
    "exclude_pattern": false,
    "exclude_pattern_type": "disabled",
    "include_set": [ /* mapped from data.programInclusion */ ],
    "exclude_set": [ /* mapped from data.programExclusion */ ]
  },
  "messageFilter": {
    "items": [ /* mapped from data.msg */ ]
  },
  "misc": {
    "hideAck": false
  },
  "sourceExclusion": [ /* mapped from data.sourceExclusion */ ],
  "priorityExclusion": [ /* mapped from data.priorityExclusion */ ],
  "facilityExclusion": [ /* mapped from data.facilityExclusion */ ],
  "timespan": {
    "from": "{{ mapped from data.startTime }}",
    "to": -1
  },
  "display": {
    "order": {
      "field": "created",
      "dir": "desc"
    },
    "group": {
      "field": null
    },
    "count": "id",
    "limit": 50
  }
}