Event Schedule for Seq 1.0.6 Released - Date tokens!

Event Schedule is a bit of a different beast from the Event Timeout and Event Threshold apps. It's an app that will (for example) allow you to automatically create Jira tickets every month via a Seq log entry. This means that it can have difference needs from the other apps (or otherwise, might drive improvements to those apps if it's useful enough).

With this in mind, it's useful for Event Schedule to be able to mark those tickets with date formats, like "Scheduled Maintenance - July 2021". This allows you to readily distinguish between different tickets in the destination system.

Note - After this was initially published, I looked at event tags as another possibility. Given that a main target is Jira, and updates to Seq.App.Atlassian.Jira mean that tags can be passed through as labels, it can be useful to produce a label like Maintenance_Jul2021 for the sake of filtering. Accordingly, v1.08 now includes the ability to include date tokens in your tags, along with an update to ensure that the Message and Description properties will always be included with your scheduled log events!

Accordingly, I've updated the Event Schedule code to allow date tokens, as follows;

TokenSubstitute
{d}Current Day as digit (eg. 1, 26, etc)
{dd}Current Day as digit with padding zero where needed (eg. 01, 26, etc)
{ddd}Current short day name (eg. Mon, Fri, etc)
{dddd}Current long day name (eg. Monday, Friday, etc)
{M}Current Month as digit
{MM}Current Month as digit with padding zero where needed 
{MMM}Current short month name
{MMMM}Current long month name
{yy}Two digit year (eg. 20, 21, etc)
{yyyy}Four digit year (eg. 2020, 2021, etc)

This is accepted in both the Message and Description fields, and within Tags. Although presented above as lower and upper case, the replacement is not case sensitive. This does not strictly follow standard .NET formatting rules - it is a simple token substitution for convenience.

I've also added a checkbox to allow you to enable or disable including the Description in the log message text. By default it is switched off. 

Note! If you have an existing install of Event Schedule with existing instances configured, the instances may stop due to addition of this field.

To resolve, you simply need to go into each app and save the config - remember to turn the "Include Description with log message" setting on if you want the previous behaviour to continue!

You can update your existing install from within Seq, install Event Schedule to your Seq instance using the Seq.App.EventSchedule Nuget tag, or use the most fancy links in the universe below!

Comments

You may also like:

Lurgle.Logging v1.1.14 and Lurgle.Alerting v1.1.9 Released

I've pushed out updates to Lurgle.Logging and Lurgle.Alerting today. The Lurgle.Logging update is minor - I noticed that Log.Add wasn't correctly passing the calling method, source file, and line number. Lurgle.Alerting has received a more substantial update: This helps to make Lurgle.Alerting even more useful and reliable! You can get...

Event Timeout for Seq v1.4.2 released

A new release of Seq.App.EventTimeout is out. This was a little earlier than I planned to release v1.4.x, but there was a bug in the AbstractAPI deserialization as a result of some code refactoring which I'd missed. As usual, you can install Event Timeout for Seq using Seq.App.EventTimeout as the...

Lurgle.Alerting v1.1.10 and Lurgle.Logging v1.1.15 Released

I've just pushed out an update to Lurgle.Alerting on Nuget. This release adds a Handlebars template option, based on the implementation by Matthew Turner at FluentEmail.Handlebars (github.com). When I came across the FluentEmail.Handlebars package, I was keen to use it, but it was only compiled against .NET Standard 2.1, and...