英文:
How to set up Seq logging Dashboard for a particular event with Timing information?
问题
I am using Seq logging in my .NET application.
我正在使用Seq记录在我的.NET应用程序中。
I have the blow log appearing multiple times,
我有以下日志多次出现,
Execute Owin configuration completed in 56.1 ms
The time varies for each time the app starts up.
每次应用程序启动时,时间都不同。
The timing info is available as a property in Properties Array.
时间信息可作为属性在属性数组中获取。
I want to create a dashboard showing the timing for each startup. How can I do that?
我想创建一个仪表板,显示每次启动的时间。我该如何做?
UPDATE:
更新:
Events like these,
类似这样的事件,
But, based on the query, my chart looks like,
但是,根据查询,我的图表看起来像,
英文:
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
The time varies for each time the app starts up.
The timing info is available as a property in Properties Array.
I want to create a dashboard showing the timing for each startup. How can I do that?
But, based on the query, my chart looks like,
答案1
得分: 1
如果您将查询更改为:
select max(@Properties['1'])
from stream
where @EventType = 0x8308754F
group by time(1h)
然后执行它,然后您可以点击筛选框右侧的"添加到仪表板"按钮,您应该会得到所需信息的图表。
英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论