Made progress with Tick and alerting, multiple alerts have been creating.
But simple point, ability to add date in alert log filename generated to be able to do our cleaning job later.
So far, I was able to get alertname_2020-7-8.log but expectation alertname_20200708
Is it possible to force month and day to 2 digits format?
current TICK extract of the code.
var logpath = ‘/appspath/log/alertname’
var logdate = string(year(now())) + string(month(now())) + string(day(now()))
var logname = logpath + ‘_’ + logdate + ‘.log’