Search code examples
seq-loggingdatalust-seq

How to set up Seq logging Dashboard for a particular event with Timing information?


I am using Seq logging in my .NET application. I have the blow log appearing multiple times,

 Execute Owin configuration completed in 56.1 ms

enter image description here

The time varies for each time the app starts up. The timing info is available as a property in Properties Array. enter image description here

I want to create a dashboard showing the timing for each startup. How can I do that?

UPDATE: Events like these, enter image description here,

But, based on the query, my chart looks like,

enter image description here


Solution

  • If you change your query to:

    select max(@Properties['1'])
    from stream
    where @EventType = 0x8308754F
    group by time(1h)
    

    And execute it, you can then press the "Add to dashboard" button just to the right of the filter box and you should get a chart with the info you want.