You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are Time series supported ? If so could you provide an exemple Panel with query ?
I tried select date_trunc('minute',CAST(datetime AS Timestamp)) as datetime, host, count(*) as count from httpaccess where status like '2%' group by host, date_trunc('minute',CAST(datetime AS Timestamp));, it works when adding in the Panel a Transform Convert field type to manually set datetime field as Time type.
I would also like to have multiple series based on the host field but can't get it to work.
Activity
nitisht commentedon Sep 3, 2023
Thanks for reporting @logut . Do you have an example - what are the columns and what type of output you're looking for?
trueleo commentedon Sep 3, 2023
@nitisht i think this is what they are referring to https://grafana.com/docs/grafana/latest/panels-visualizations/visualizations/time-series/
from query it looks like. It is series on different
hostswhere Y values are count and X is time in minuteslogut commentedon Sep 9, 2023
Stream is for http server access logs and looks like:
{ "datetime": "2023-09-08 18:18:52.228", "host": "example.com", "hostname": "server01", "p_metadata": "", "p_tags": "", "p_timestamp": "2023-09-08T16:19:12.223", "status": "200", "timetakenms": "485", "ua": "Uptime-Kuma/1.23.1", "uid": "ZPtJbDECRXzn_xsGypWcQQAAAAc", "uri": "/index.php", }The output might look like:

nitisht commentedon Nov 23, 2023
Thanks @logut we'll see how to add this.