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
질문됨 일 년 전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.

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠