parameters:
path: '/www/logs/tomcat/qas-app01-fact-01-dm/*.*'
type: tomcat
- tags:
+ tags:
- "docmorris-ff7"
- "%{customer}"
- "%{environment}"
match:
- "message"
- '%%{ich-trickse}{IP:ip}%%{ich-trickse}{SPACE}\[%%{ich-trickse}{HTTPDATE:logdate}%%{ich-trickse}{DATA}%%{ich-trickse}{QS:request}%%{ich-trickse}{DATA}%%{ich-trickse}{NUMBER:status}%%{ich-trickse}{DATA}%%{ich-trickse}{NUMBER:size}%%{ich-trickse}{DATA}%%{ich-trickse}{NUMBER:time}'
+
+sudo::configs:
+ cmd_alias:
+ priority: "05"
+ content: |
+ Cmnd_Alias CMDTOMCAT = /bin/systemctl * tomcat@*.service
+ tomcat:
+ priority: "10"
+ content: |
+ tomcat ALL=(tomcat) NOPASSWD: CMDTOMCAT