summaryrefslogtreecommitdiff
path: root/samples/dtail.json.sample
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-08-12 10:56:36 +0300
committerPaul Buetow <paul@buetow.org>2021-08-12 10:56:36 +0300
commit3cc8887885f24a3f0d607af24197bc364ab16b8d (patch)
tree48e85a54d3e4f6139001a58a3e57dd03b27c780a /samples/dtail.json.sample
parent1e00c256842e125a865a6cc3f9aa70a1a498f6dc (diff)
add missing brush and also add color client configs plus jsonschema
Diffstat (limited to 'samples/dtail.json.sample')
-rw-r--r--samples/dtail.json.sample56
1 files changed, 48 insertions, 8 deletions
diff --git a/samples/dtail.json.sample b/samples/dtail.json.sample
index 33d445f..91233f9 100644
--- a/samples/dtail.json.sample
+++ b/samples/dtail.json.sample
@@ -1,22 +1,62 @@
{
- "Client": {},
+ "Client": {
+ "TermColorsEnable": true,
+ "TermColors": {
+ "ClientErrorAttr": "Bold",
+ "ClientErrorBg": "Black",
+ "ClientErrorFg": "Red",
+ "ClientStatsAttr": "Dim",
+ "ClientStatsBg": "Blue",
+ "ClientStatsFg": "White",
+ "ClientWarnAttr": "None",
+ "ClientWarnBg": "Black",
+ "ClientWarnFg": "Magenta",
+ "RemoteDebugAttr": "None",
+ "RemoteDebugBg": "Green",
+ "RemoteDebugFg": "Black",
+ "RemoteErrorAttr": "Bold",
+ "RemoteErrorBg": "Red",
+ "RemoteErrorFg": "White",
+ "RemoteFatalAttr": "Blink",
+ "RemoteFatalBg": "Red",
+ "RemoteFatalFg": "White",
+ "RemoteStatsOkAttr": "None",
+ "RemoteStatsOkBg": "Green",
+ "RemoteStatsOkFg": "Black",
+ "RemoteStatsWarnAttr": "None",
+ "RemoteStatsWarnBg": "Red",
+ "RemoteStatsWarnFg": "White",
+ "RemoteTextAttr": "None",
+ "RemoteTextBg": "Black",
+ "RemoteTextFg": "White",
+ "RemoteTraceAttr": "Bold",
+ "RemoteTraceBg": "Green",
+ "RemoteTraceFg": "White",
+ "RemoteWarnAttr": "Bold",
+ "RemoteWarnBg": "Yellow",
+ "RemoteWarnFg": "White"
+ }
+ },
"Server": {
"SSHBindAddress": "0.0.0.0",
"MaxConcurrentCats": 2,
"MaxConcurrentTails": 50,
"MaxConnections": 50,
- "MapreduceLogFormat" : "default",
- "HostKeyFile" : "cache/ssh_host_key",
- "HostKeyBits" : 2048,
+ "MapreduceLogFormat": "default",
+ "HostKeyFile": "cache/ssh_host_key",
+ "HostKeyBits": 2048,
"Permissions": {
"Default": [
"readfiles:^/.*$"
],
"Users": {
+ "paul": [
+ "readfiles:^/.*$"
+ ],
"pbuetow": [
"readfiles:^/.*$"
],
- "jblake": [
+ "jamesblake": [
"readfiles:^/tmp/foo.log$",
"readfiles:^/.*$",
"readfiles:!^/tmp/bar.log$"
@@ -25,9 +65,9 @@
}
},
"Common": {
- "LogDir" : "log",
- "CacheDir" : "cache",
- "TmpDir" : "tmp",
+ "LogDir": "log",
+ "CacheDir": "cache",
+ "TmpDir": "tmp",
"LogStrategy": "stdout",
"SSHPort": 2222,
"DebugEnable": false,