Commit b912ec66 authored by Klaus Wölfel's avatar Klaus Wölfel

Add usage example to readme

parent 6a4b0ff6
......@@ -3,5 +3,50 @@ fluent-plugin-system
[Fluentd][] input plugin for binary files based on in_tail.
Usage Example
This exmaple shows how to install and configure fluent-plugin-bin together
with fluent-plugin wendelin output plugin to ingest binary files into
sudo apt-get install supervisor
sudo service supervisor restart
sudo apt-get install python-software-properties
sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update
sudo apt-get install ruby2.0 ruby2.0-⁠⁠dev make
sudo gem install fluentd --no-ri --no-rdoc
sudo mkdir -p /etc/fluent/plugin
cd /etc/fluent/plugin
sudo wget
sudo wget
sudo wget
Create /etc/fluent/fluentd.conf:
@type bin
format none
path /path/to/files/*.ext
pos_file /mic/upload.pos
enable_watch_timer false
read_from_head true
tag my_prefix.*
@type wendelin
@id wendelin_out
streamtool_uri https://wendelin_url/portal_ingestion_policies/my_policy
user my_user_name
password my_password
buffer_type memory
flush_interval 1s
disable_retry_limit true
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment