Financial-Times / splunk-heroku

Support for Heroku log drains packaged as a Splunk app.
https://tech.in.ft.com/tech-topics/logging/splunk/logging-from-heroku
MIT License
2 stars 0 forks source link

Extract `code` and `desc` from `heroku:system` messages #46

Closed sjparkinson closed 2 years ago

sjparkinson commented 2 years ago

In heroku:system log messages there are Heroku error codes included as a message.

Extract the error code and description from the message, name the fields to align with the same fields that exist in heroku:router messages.

See https://devcenter.heroku.com/articles/error-codes for more information.

Regex screenshot

Screenshot 2022-08-16 at 09 37 29