cloudfoundry-community / logsearch-for-cloudfoundry

A Logsearch addon that customises Logsearch to work with Cloud Foundry data
Apache License 2.0
49 stars 58 forks source link

RTR response status code mapping to log level #317

Closed kinjelom closed 5 years ago

kinjelom commented 5 years ago

AS IS

All responses code >= 400 are mapped to ERROR log level, which is misleading for me. Even if RTR event is like this: "level":"info","message_type":"OUT", "msg":"my.domain.com - [2019-04-01T14:28:39.243+0000] \"GET /wrongurl HTTP/1.1\" 404

TO BE

The new mapping:

CLAassistant commented 5 years ago

CLA assistant check
All committers have signed the CLA.