on the timestamp column, I’m planning to change it from 2022-12-29 xx:xx:xx to 2022-12-29. is it possible? what transform i can use for it? i’m using Grafana 9.0.3 and elastic as data source
Select @timestamp in Field choose time type and add YYYY-MM-DD when you do this your @timestamp will be 2022-12-29 00:00:00
but if you want to remove time completely you can use override to remove time like this
I wanted to display the total data per day and per channel id(bit3.keyword). I guess this is my plan
so i calculate bit4 and group them by timestamp and bit3 which is channel id
Initially, I thought that by changing the format of the date as you told me, I could group the data by date. but apparently not. do you think its possible.
“why the timestamp that I convert via transform doesn’t change?”.
I have same issue in my grafana with elastic data source.
I think that it is bug, it doesn’t help to convert timestamp to string at first and add the second conversion to Time, because date will be totally different from original timestamp…
Anyway, is there any grafana’s expert who can help ? Thanks.