How to get mariadb slow query log

Hello,

Sidecar is just a wrapper for “Winlogbeat, FileBeat, MetricBeat, Nxlog”, you can install these separate.
Example for Nxlog you can use this to pick up MongoDb Slow Query logs

<Input in>
    Module       im_file
    FILE         "/var/log/mongodb/mongodb_slow.log"
    SavePos       TRUE
    ReadFromLast  TRUE
    PollInterval  1
    Exec  $Message = $raw_event;
 </Input>

or FileBeat

filebeat.inputs:
- input_type: log
  paths:
    - /var/log/mongodb/mongodb_slow.log
  type: log

Hope that helps