summaryrefslogtreecommitdiffstats
path: root/src/collectors/systemd-journal.plugin/schema.d/systemd-journal:monitored-directories.json
blob: 6495bbc25b6fed531d9ffbb1c06760501a6789ec (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
{
  "jsonSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "properties": {
      "journalDirectories": {
        "title": "systemd-journal directories",
        "description": "The list of directories `systemd-journald` and `systemd-journal-remote` store journal files. Netdata monitors these directories to automatically detect changes.",
        "type": "array",
        "items": {
          "title": "Absolute Path",
          "type": "string",
          "pattern": "^/.+$"
        },
        "maxItems": 100,
	    "uniqueItems": true
      }
    },
    "required": [
      "journalDirectories"
    ]
  },
  "uiSchema": {
    "journalDirectories": {
      "ui:listFlavour": "list",
      "ui:options": {
        "addable": true,
        "orderable": false,
        "removable": true
      },
      "items": {
        "ui:placeholder": "Enter absolute directory path",
        "ui:widget": "text",
        "ui:emptyValue": ""
      }
    }
  }
}