Talk about the function of grafana difference
Yes,does these two have some same function?
Not at all. TL;DR - Transform data
tab is for manipulating data from datasource, while Field Overrides
are for changing the visualization options for certain fields.
The Transform data
tab is used to manipulate data you have incoming from your datasource. Imagine you have Elasticsearch
datasource, where you can query entire documents - you rearely ever need to see all of the fields. With transformations (in Transform data
tab) you can e.g. select only the fields you’d like to see. There are multiple transformations but all of them regard the data from the datasource.
On the other hand, field overrides are used to manipulate settings of the visualization. Let’s say you have a table with two columns - name of your room and the temperature in the room (arbitrary example). You want to present the temperature with a unit of Celcuis degrees, so you go to the Standard Options
→ Unit
and set it to the Celcuis degrees. But then, your room name is also in the same unit, which doesn’t make much sense. What you can do is to go to fields override and change some options of the table based on the data, e.g. set the unit of Celcius degrees only to the temperature column. Does this make sense?
Thanks for your answer.I met a question,filter all zeros series,i find a solution that it’s to configure overides not in transformation.But i can get more sense from your reply than before.
Today I use the method that it is to config with overides tab filter all zeros series and hidden tooltips. But it doesn’t work if i need choose all tooltips. Then all tooltips show again. This makes me understand more deeply in what you talk. Overides just change the chart in the fronted.But transformer change the data before visualization.