...service-endpoints sample_limit: 10000 kubernetes_sd_configs: - role: endpoints relabel_configs: - action: keep regex: true source_labels: - __meta_kubernetes_service_annotation_prometheus_io_scrape - action: replace source_labels: - __meta...

...service-endpoints sample_limit: 10000 kubernetes_sd_configs: - role: endpoints relabel_configs: - action: keep regex: true source_labels: - __meta_kubernetes_service_annotation_prometheus_io_scrape - action: replace source_labels: - __meta...

Parser docker Mem_Buf_Limit 5MB customParsers: | [PARSER] Name multi_line Format regex Regex (? ^{"log":"\d{4}-\d{2}-\d...

Best results in other decks

...errors. Regular expressions can help you out here. Open find and replace Activate the regex mode (click on the .* icon next to the "find" field). Fill in find field with...

...to convert the url "..." to the urls ["..."] here. Open find and replace Activate the regex mode Fill in find field with e.g. url (? .*?) Hint: the "url" at the beginning of...

An alternative of using a multiple assignment for a Regex are named groups. Especially when your Regex becomes more complicates it is easier to understand and to process. Note:

Search in all decks