[INSTRM-323] update rsyslog-server role to fix massive output to /var/log and add omfile Created: 11/Apr/18  Updated: 16/Apr/18  Resolved: 16/Apr/18

Status: Done
Project: Instrument control development
Component/s: ics_ansible
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: shimono Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

current version just sets imtcp/udp and loads logstash output module if configured by parameter, but not disable standard output to /var/log, which will result to write massive outputs to /var/log.

  • add ruleset to input lines
  • add ruleset to existing logstash template
  • add omfile template with dynaFile as template like following
$template omfile-name,"/tmp/%$year%/%$month%%$day%/%hostname%/%syslogfacility-text%.log"
action(type="omfile" dynaFile="omfile-name")


 Comments   
Comment by shimono [ 11/Apr/18 ]

marking as review for recheck at landfill@ipmu

Comment by shimono [ 16/Apr/18 ]

checked at landfill, merged.

Generated at Sat Feb 10 16:23:48 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.