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年前278ビュー
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ