https://github.com/aabouzaid/flume-formula
SaltStack formula for Apache Flume.
https://github.com/aabouzaid/flume-formula
apache-flume flume saltstack saltstack-formula
Last synced: 24 days ago
JSON representation
SaltStack formula for Apache Flume.
- Host: GitHub
- URL: https://github.com/aabouzaid/flume-formula
- Owner: aabouzaid
- Created: 2018-01-22T19:52:05.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-09T22:32:07.000Z (over 1 year ago)
- Last Synced: 2025-02-05T11:36:37.381Z (3 months ago)
- Topics: apache-flume, flume, saltstack, saltstack-formula
- Language: HTML
- Homepage: http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
============
Apache Flume
============
Install and configure `Apache Flume `_ a distributed, reliable,
and available service for efficiently collecting, aggregating, and moving large amounts of log data... Note::
See the full `Salt Formulas installation and usage instructions
`_.Available states
================.. contents::
:local:``flume``
---------Download, install, configure Apache Flume.
Configuration
=============Main important sections are ``agents`` and ``plugins``.
Agents
------
One or more agents could be added under ``agents`` section.
And each agent could have many sources, channels, sinks... code:: yaml
flume:
agents:
agent01:
sources:
httpSource:
type: http
port: 8080channels:
httpChannel01:
type: memory
capacity: 1000000
transactionCapacity: 100000
nullChannel01:
type: memory
capacity: 1000
transactionCapacity: 1000sinks:
httpFileSink01:
type: file_roll
channel: httpChannel01
sink:
directory: /var/log/flume
rollInterval: 300
nullSink01:
type: 'null'
channel: nullChannel01sinkgroups:
sinkgroup01:
processor:
type: failover
backoff: 'false'
selector: failoverPlugins
-------
More Flume plugins (i.e. external libs) could be added under ``plugins`` section.If the plugin doesn't follow `Flume convention
`_,
then the non-standard dirs should be exposed in ``classpath`` section.If the plugin does follow the convention, then no need to ``classpath`` section.
.. code:: yaml
flume:
plugins:
hadoop:
source: https://archive.apache.org/dist/hadoop/common/hadoop-2.7.2/hadoop-2.7.2.tar.gz
hash: False
paths:
# No need to expose dirs here.
native:
src: lib/native
dest: native
hdfs:
src: share/hadoop/hdfs
dest: hdfs
# Expose classpath dirs,
# in case the plugin doesn't follow Flume plugins convention.
classpath:
- '*'
- 'lib/*'
common:
src: share/hadoop/common
dest: common
classpath:
- '*'
- 'lib/*'.. vim: fenc=utf-8 spell spl=en cc=100 tw=99 fo=want sts=4 sw=4 et