amazon web services - CloudWatch agent on windows stops sending IIS logs -


at work running couple of ec2 instances in amazon windows server 2012 , iis.

setting iis logs , eventlogs etc sent cloudwatch works perfectly.

the problem comes when add own things iis log want have on each line of accesslog, iis renames logfile "date_x.log" , when has "_x" in end of filename, ec2config service not roll on next logfile, stops @ 23:59 pm every day. if restart ec2config windows service picks new one, set scheduled task , had running on weekend when came work on monday morning, had stopped sunday night @ 23:59 pm. can no longer restart service pick new logfile.

if change having no custom items in iis log works fine, not work us, need custom items.

adding filter in json config file has no effect.

any idea on going on , how can solve it?

update: after leaving running issue going, appears agent not stop sending logs completely, instead skips every second day or so.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -