I’m quite new to Grafana and I run into a problem.
I have a db with UTC timestamped data which is shown fine.
But when I export a graph as CSV, the timestamps are converted to local time.
What am I doing wrong?
You have to select timezone in dashboard settings to utc I think.
Dashboard settings are already UTC…
What Grafana version?
Grafana Version 5.1.2
I see now that there’s an open issue for that here.
Marcus
@mvhooft FYI in case my last comment on that issue report makes you wonder where things stand: I unfortunately didn’t get a chance to incorporate Torkel’s (very apt) comments on my initial patch, so it didn’t get pulled in in the end, and the issue is now unfortunately sitting stale.
We’ll consider re-open the PR if you submit changes. Torkel wrote that before closing it. If you would like some feedback/help please write in PR and I will try to help you.
We’re trying to minimize open issues/PRs without any activity, but always consider re-opening if there’s changes coming in.
Hello, 5 years later and this still seems to be an issue.
Grafana v9.5.2 (cfcea75916)
Importing data from a table panel via panel’s options:
Inspect
> Data
> Download CSV
.
This returns me data with my local time instead of the default Grafana time or dashboard’s time (which is UTC GMT in my case). There is nothing wrong with the table panel display - the data is in UTC format, the problem with imported CSV data.
Tried to change the default_timezone
setting from browser
to UTC
in the Grafana settings, because my local timezone is the same as in CSV I receive, but it didn’t help.
Searched for related issues, but all of them are 5-6 years old and there are no any recent similar issues. What am I doing wrong any ideas?