Append a field to your logs that you can ingest directly into elasticsearch with no dissect or parsing magic

Usage:

In your services file you append it as a monolog processor. So for example if your service parameters look like this:

parameters:
  monolog.channel_handlers:
    default: ['file']
  monolog.processors: ['message_placeholder', 'current_user', 'request_uri', 'ip', 'referer']

Change it to this: