Introduction to tools for converting data in Grafana

convert data

Grafana can process the data before the data is displayed on the panel. 1. Click the Transform tab. 2. Select the transformation type to use. Different transformation types have different configurations. 3. To add a transformation type, click Add transformation 4. Use the upper right corner to adjust The button can adjust the mode conversion

Supported conversion types:

  • Add field from calculation Use the original value to calculate the new field
  • Concatenate fields concatenates all fields to form a new field
  • Config from query results Extract fields from query results and apply them to another query
  • Convert field type converts the field to the specified field type
  • Create heatmap calculates a heatmap from source data
  • Extract fields to analyze the fields in the content (JSON, labels, etc.)
  • Field lookup queries values ​​from external data sources, currently supports spatial data, and will support more in the future
  • Filter by name Filter data by regular or specified fields
  • Filter data by query filter data by query group
  • Filter data by values ​​Determine whether to filter data based on data values
  • Group by Group by the specified field and calculate the data of each group
  • Grouping to matrix combines three fields into one matrix
  • Histogram computes a histogram from the input data
  • Join by field Merge into one table based on related fields between two or more tables
  • Join by labels displays labeled results into tables joined by labels
  • Labels to fields groups series by time and returns labels or tags as fields. Used to display labeled time series in a table, where each label key becomes a separate column
  • Limit limit the number of data displayed
  • Merge combines the results of multiple queries into one result
  • Organize fields allows the user to reorder, hide or rename fields/columns, only available for a single query panel
  • Partition by values ​​differentiate by unique/enumerated values ​​in one or more fields
  • Prepare time series Convert time series data to wide-long format
  • Reduce compressed fields
  • Rename by regex uses regular expressions and replacement patterns to rename parts of query results
  • Rows to fields Convert rows to fields
  • Series to rows converts rows into separate fields
  • Sort by field sorting
  • Spatial operations apply spatial operations to query results

Guess you like

Origin blog.csdn.net/xoofly/article/details/129408538