Help Regex in Graylog

Hello, I am receiving the message:

container_name:crm-tickets, namespace_name:crm, pod_name:crm-tickets-6b87984578-jsgzf, container_image:[gcio.io/crm-teste:3](http://gcio.io/crm-teste:3)

i need to create a regex to fields

container_name: crm-tickets

namespace_name: crm

....

is possible ?

I Try:
^container_name?[:\s]\w+

thanks

Are you trying to create an extractor or a pipeline rule?

You might want to have a look here:

http://docs.graylog.org/en/3.0/pages/extractors.html
http://docs.graylog.org/en/3.0/pages/pipelines/functions.html#regex

You can build and test your Regex here:
https://www.freeformatter.com/java-regex-tester.html

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.