:modulename: rabbitmq
:has-dashboards: false

== RabbitMQ module

This is the module for parsing https://www.rabbitmq.com/logging.html[RabbitMQ log files]

include::../include/what-happens.asciidoc[]

include::../include/gs-link.asciidoc[]

[float]
=== Compatibility

Parses https://www.rabbitmq.com/logging.html[single file format] introduced in 3.7.0.

Tested with version 3.7.14.

include::../include/configuring-intro.asciidoc[]

The following example shows how to set paths in the +modules.d/{modulename}.yml+
file to override the default paths for RabbitMQ logs:


["source","yaml",subs="attributes"]
-----
- module: rabbitmq
  log:
    enabled: true
    var.paths: ["/path/to/log/rabbitmq/*.log*"]
-----


To specify the same settings at the command line, you use:

["source","sh",subs="attributes"]
-----
-M "rabbitmq.log.var.paths=[/path/to/log/rabbitmq/*.log*]"
-----

:fileset_ex: log

include::../include/config-option-intro.asciidoc[]

[float]
==== `log` fileset settings

include::../include/var-paths.asciidoc[]

include::../include/timezone-support.asciidoc[]

:has-dashboards!:

:fileset_ex!:

:modulename!:
