No visualization available

0

Showing matched records

Using AWS Log insights, I simply want to plot duration (unit is nanosecond, ideally shown as seconds) as the Y axis, instead it appears to count the matches. What am I missing please?

@timestamp,duration 2023-03-05 00:08:24.324,5440944 2023-03-05 00:08:15.052,16121353 2023-03-05 00:07:24.128,13136935 2023-03-05 00:07:21.830,13971799 2023-03-05 00:07:20.493,19536558 2023-03-05 00:07:12.665,13965687 2023-03-05 00:07:02.095,9988365 2023-03-05 00:06:49.970,17717579 2023-03-05 00:06:32.391,6515700

profile picture
hendry
已提问 1 年前277 查看次数
1 回答
0

Hello hendry,

Time series visualizations work for queries with the following characteristics: The query contains one or more aggregation functions. The query uses the bin() function to group the data by one field.

When you run a query that uses the bin() function to group the returned results by a time period, you can view the results as a line graph, stacked area graph, pie chart, or bar chart. This helps you more efficiently visualize trends in log events over time.

bin(period: Period)

Timestamp

Rounds the value of @timestamp to the given time period and then truncates. For example, bin(5m) rounds the value of @timestamp to 5 minutes before it truncates.

已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则