This guide explains configuring Fluentd to extract structured data from unstructured log messages using the parser plugin with a regular expression (regexp).
If you need to extract specific fields, such as log_source and index, from a log message, you can do this as follows.
If you need to extract fields such as timestamp, level, module, and message from logs with timestamps, you can do this as follows.
If you need to extract key-value pairs from a log message, you can do this as follows.