You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an alert that includes the following lines: b|deadman(100.0, 15m) .id('Deadman') .message('{{ .ID }} is {{ .Level }}: {{ index .Fields "emitted" }} points seen in last 15m') .log('/tmp/Deadman.log') .mode(644)
I expected the resulting log file to have perms -rw-r--r-- but instead it has: --w----r-- 1 kapacitor kapacitor 1.7K Jun 22 10:37 Deadman.log
The text was updated successfully, but these errors were encountered:
@gargooza The bug is that the mode is being interpreted as a decimal number instead of an octal number. We should change it to accept a string that then gets interpreted as an base 8 number.
1.0.0~beta1 (git: master c6f7db5)
I have an alert that includes the following lines:
b|deadman(100.0, 15m) .id('Deadman') .message('{{ .ID }} is {{ .Level }}: {{ index .Fields "emitted" }} points seen in last 15m') .log('/tmp/Deadman.log') .mode(644)
I expected the resulting log file to have perms -rw-r--r-- but instead it has:
--w----r-- 1 kapacitor kapacitor 1.7K Jun 22 10:37 Deadman.log
The text was updated successfully, but these errors were encountered: