Skip to content

Instantly share code, notes, and snippets.

@42wim
Created October 23, 2018 20:24
Show Gist options
  • Save 42wim/c354dd6d83aa098acea8ff61afe3b240 to your computer and use it in GitHub Desktop.
Save 42wim/c354dd6d83aa098acea8ff61afe3b240 to your computer and use it in GitHub Desktop.
test.toml
[[trigger]]
file="t/audit_db.log"
record-delimiter="^#"
[trigger.pwdlock]
match-regex="uwe regex"
actions.showmatch.type="local"
actions.showmatch.runtemplate="logger -t INFO {{ .dn }} {{ .datetime }}"
actions.remoteserver1.type="rest"
actions.remoteserver1.urltemplate="blah"
[trigger.pwdunlock]
match-regex="uwe regex"
actions.showmatch.type="local"
actions.showmatch.runtemplate="logger -t INFO {{ .dn }} {{ .datetime }}"
actions.remoteserver1.type="rest"
actions.remoteserver1.urltemplate="blah"
[[trigger]]
file="otherfile"
[trigger.somothertrigger]
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment