7

When I use table visualisation in Grafana with InfluxDB, the table panel always shows the time column, but I do not want it. So how can I achieve this?

I have searched similar questions on StackOverflow, but could not find any answer. My query does not include time as shown below:

"SELECT sum("load") AS "load" FROM "cpu" WHERE $timeFilter GROUP BY "host"" 

But the table panel looks as follows including the time column:

enter image description here

kahveci
  • 1,429
  • 9
  • 23
myd620
  • 111
  • 1
  • 1
  • 5

2 Answers2

17

This answer is for Grafana version 7.0.3 and later (previous versions 7.0.1 and 7.0.2 had related bugs which were fixed).

You can do this by adding the "Organize fields" transformation. Click "Transform" tab -> Click "Select" button on "Organize fields" row -> Click the "eye" icon on "Time" row.

Jackson
  • 362
  • 3
  • 10
3

You can hide the default time column using "Column Styles" in "Visualisation" tab. You must match the column name either by name or with a regex, and finally choose type "Hidden" as follows:

enter image description here

kahveci
  • 1,429
  • 9
  • 23