diff options
Diffstat (limited to 'src/collectors/systemd-journal.plugin/schema.d')
-rw-r--r-- | src/collectors/systemd-journal.plugin/schema.d/systemd-journal:monitored-directories.json | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/collectors/systemd-journal.plugin/schema.d/systemd-journal:monitored-directories.json b/src/collectors/systemd-journal.plugin/schema.d/systemd-journal:monitored-directories.json new file mode 100644 index 000000000..6495bbc25 --- /dev/null +++ b/src/collectors/systemd-journal.plugin/schema.d/systemd-journal:monitored-directories.json @@ -0,0 +1,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": "" + } + } + } +} |