https://github.com/cloudfoundry-community/fluent-plugin-nats
NATS plugin for fluentd Event Collector
https://github.com/cloudfoundry-community/fluent-plugin-nats
fluentd fluentd-plugin nats
Last synced: 8 months ago
JSON representation
NATS plugin for fluentd Event Collector
- Host: GitHub
- URL: https://github.com/cloudfoundry-community/fluent-plugin-nats
- Owner: cloudfoundry-community
- License: other
- Created: 2012-08-30T15:23:51.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2024-08-14T11:03:05.000Z (almost 2 years ago)
- Last Synced: 2025-10-07T17:55:31.020Z (8 months ago)
- Topics: fluentd, fluentd-plugin, nats
- Language: Ruby
- Homepage:
- Size: 58.6 KB
- Stars: 17
- Watchers: 13
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
fluent-plugin-nats
==================
[NATS](https://github.com/derekcollison/nats) plugin for
[fluentd](https://github.com/fluent/fluentd) Event Collector
[](https://travis-ci.org/cloudfoundry-community/fluent-plugin-nats)
## Requirements
| fluent-plugin-nats | Fluentd | Ruby |
|--------------------|-------------|--------|
| >= 1.0.0 | >= v0.14.20 | >= 2.1 |
| < 1.0.0 | >= v0.12.0 | >= 1.9 |
# Getting Started
Setup the NATS input:
~~~~~
@type nats
tag nats
host localhost
port 4222
user nats
password nats
queues fluent.>,fluent2.>
ssl false
~~~~~
Setup the match output:
~~~~
@type stdout
~~~~
# Configuration
## Plugin helpers
* thread
* See also: Fluent::Plugin::Input
## Fluent::Plugin::NATSInput
* **host** (string) (optional): NATS server hostname
* Default value: `localhost`
* **user** (string) (optional): Username for authorized connection
* Default value: `nats`
* **password** (string) (optional): Password for authorized connection
* Default value: `nats`
* **port** (integer) (optional): NATS server port
* Default value: `4222`
* **queues** (array) (optional): Subscribing queue names
* Default value: `["fluent.>"]`
* **queue** (string) (optional):
* Default value: `fluent.>`
* Obsoleted: Use `queues` instead
* **tag** (string) (optional): The tag prepend before queue name
* Default value: `nats`
* **ssl** (bool) (optional): Enable secure SSL/TLS connection
* Default value: `false`
* **max_reconnect_attempts** (integer) (optional): The max number of reconnect tries
* Default value: `150`
* **reconnect_time_wait** (integer) (optional): The number of seconds to wait between reconnect tries
* Default value: `2`
# Suitable Queues
## Components
* dea.>
* cloudcontrollers.>
* router.>
* cloudcontroller.>
* vcap.>
* droplet.>
* healthmanager.>
## Services
* FilesystemaaS.>
* AtmosaaS.>
* MongoaaS.>
* MyaaS.>
* Neo4jaaS.>
* AuaaS.>
* RMQaaS.>
* RaaS.>