Types and options | Grafana Labs
grafana.com › docs › grafanaFilter data by name. Use this transformation to remove portions of the query results. Grafana displays the Identifier field, followed by the fields returned by your query. You can apply filters in one of two ways: Enter a regex expression. Click a field to toggle filtering on that field.
regex | Grafana Labs
grafana.com › latest › clientsregex stage. The regex stage is a parsing stage that parses a log line using a regular expression. Named capture groups in the regex support adding data into the extracted map. Schema regex: # The RE2 regular expression. Each capture group must be named. expression: <string> # Name from extracted data to parse. If empty, uses the log message.
regex | Grafana Labs
https://grafana.com/docs/loki/latest/clients/promtail/stages/regexregex stage. The regex stage is a parsing stage that parses a log line using a regular expression. Named capture groups in the regex support adding data into the extracted map. Schema regex: # The RE2 regular expression. Each capture group must be named. expression: <string> # Name from extracted data to parse. If empty, uses the log message.
A regex in query in Grafana - Stack Overflow
stackoverflow.com › questions › 64892916But, you can use the regex field inside Grafana. This will work for any datasource. Here I'm using Prometheus, but again the actual query and datasource does not matter. So for example, say I have a query returning container IDs: And I only wanted the container IDs that ended with the letter "b". I could enter the /b$/ regex to match results ...
Add a query variable | Grafana Labs
grafana.com › docs › grafana(optional) In the Regex field, type a regex expression to filter or capture specific parts of the names returned by your data source query. To see examples, refer to Filter variables with regex . In the Sort list, select the sort order for values to be displayed in the dropdown list.