[MXS-2044] Ability to set filebase to stdout Created: 2018-09-11  Updated: 2024-01-04  Resolved: 2019-12-12

Status: Closed
Project: MariaDB MaxScale
Component/s: qlafilter
Affects Version/s: None
Fix Version/s: 2.5.0

Type: New Feature Priority: Minor
Reporter: Kidanekal Hailu Assignee: Niclas Antti
Resolution: Fixed Votes: 0
Labels: beginner-friendly

Epic Link: Filter Improvements
Sprint: MXS-SPRINT-96

 Description   

I have maxscale deployed in kubernetes and I would like to send the filter logs to ELK stack, via the stdout logger.

It will be great if the filter support sending logs to stdout so that we can ship the query log logs to any log aggregation framework.

Example proposal

[SQLLogger]
type=filter
module=qlafilter
log_data=user, query
filebase=stdout



 Comments   
Comment by markus makela [ 2019-01-12 ]

I think we can use the log_type parameter and add stdout there. In addition to this it might be useful to also be able to log it in the maxscale.log.

Generated at Thu Feb 08 04:11:16 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.