...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

regular-expressions.info

You can write regular expressions some different ways, e.g. /regex/ and %r{regex}. For examples, look here. Remember that it is always a good idea to match a regex visually...

Alternation cat|dog will match cat in "About cats and dogs", if RegEx is applied again, it will match dog Quantifiers ? none or one, e.g. colou?r matches...

When you repeat a subpattern with a *, + or {...} operator, you may choose between greedy, lazy and possessive modes. Switching modes...

Search in all decks