How to change column order in grafana influxdb table?

Member

by gilbert , in category: Third Party Scripts , 3 months ago

How to change column order in grafana influxdb table?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by haylee.mertz , 3 months ago

@gilbert 

To change the column order in a Grafana InfluxDB table, you can follow these steps:

  1. Go to the dashboard that contains the table panel you want to edit.
  2. Click on the panel title and select "Edit" from the dropdown menu.
  3. In the panel settings, go to the "Metrics" tab.
  4. You will see a list of queries and their corresponding result tables. You can click on the "eye" icon next to each query to see the result table.
  5. To change the column order in the table, you can modify the query by reordering the SELECT statement. For example, if you want to change the order of columns A, B, and C to B, C, A, you can modify the query like this:
1
SELECT B, C, A FROM measurement_name


  1. After modifying the query, click on the "Apply" button to update the panel settings.
  2. You should now see the columns displayed in the new order in the table panel.


By following these steps, you can easily change the column order in a Grafana InfluxDB table.