summaryrefslogtreecommitdiff
path: root/samples/dtail.json.sample
blob: 91233f94c60e27db97de65e1e81ba5b8175e91c1 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
  "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,
    "Permissions": {
      "Default": [
        "readfiles:^/.*$"
      ],
      "Users": {
        "paul": [
          "readfiles:^/.*$"
        ],
        "pbuetow": [
          "readfiles:^/.*$"
        ],
        "jamesblake": [
          "readfiles:^/tmp/foo.log$",
          "readfiles:^/.*$",
          "readfiles:!^/tmp/bar.log$"
        ]
      }
    }
  },
  "Common": {
    "LogDir": "log",
    "CacheDir": "cache",
    "TmpDir": "tmp",
    "LogStrategy": "stdout",
    "SSHPort": 2222,
    "DebugEnable": false,
    "ExperimentalFeaturesEnable": false
  }
}