NATS plugin for fluentd Event Collector
fluent-plugin-nats | Fluentd | Ruby |
---|---|---|
>= 1.0.0 | >= v0.14.20 | >= 2.1 |
< 1.0.0 | >= v0.12.0 | >= 1.9 |
Setup the NATS input:
<source>
@type nats
tag nats
host localhost
port 4222
user nats
password nats
queues fluent.>,fluent2.>
ssl false
</source>
Setup the match output:
<match nats.fluent.**>
@type stdout
</match>
-
thread
-
See also: Fluent::Plugin::Input
- host (string) (optional): NATS server hostname
- Default value:
localhost
- Default value:
- user (string) (optional): Username for authorized connection
- Default value:
nats
- Default value:
- password (string) (optional): Password for authorized connection
- Default value:
nats
- Default value:
- port (integer) (optional): NATS server port
- Default value:
4222
- Default value:
- queues (array) (optional): Subscribing queue names
- Default value:
["fluent.>"]
- Default value:
- queue (string) (optional):
- Default value:
fluent.>
- Obsoleted: Use
queues
instead
- Default value:
- tag (string) (optional): The tag prepend before queue name
- Default value:
nats
- Default value:
- ssl (bool) (optional): Enable secure SSL/TLS connection
- Default value:
false
- Default value:
- max_reconnect_attempts (integer) (optional): The max number of reconnect tries
- Default value:
150
- Default value:
- reconnect_time_wait (integer) (optional): The number of seconds to wait between reconnect tries
- Default value:
2
- Default value:
- dea.>
- cloudcontrollers.>
- router.>
- cloudcontroller.>
- vcap.>
- droplet.>
- healthmanager.>
- FilesystemaaS.>
- AtmosaaS.>
- MongoaaS.>
- MyaaS.>
- Neo4jaaS.>
- AuaaS.>
- RMQaaS.>
- RaaS.>