Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fluent-plugin-bin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
fluent-plugin-bin
Commits
b912ec66
Commit
b912ec66
authored
Jun 06, 2016
by
Klaus Wölfel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add usage example to readme
parent
6a4b0ff6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
1 deletion
+46
-1
README.md
README.md
+46
-1
No files found.
README.md
View file @
b912ec66
...
...
@@ -3,5 +3,50 @@ fluent-plugin-system
[
Fluentd
][]
input plugin for binary files based on in_tail.
[
Fluentd
]:
http://fluentd.org/
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
[
Wendelin
][]
.
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 https://lab.nexedi.com/nexedi/fluent-plugin-bin/raw/master/lib/fluent/plugin/in_bin.rb
sudo wget https://lab.nexedi.cn/nexedi/fluent-plugin-wendelin/raw/master/lib/fluent/plugin/out_wendelin.rb
sudo wget https://lab.nexedi.cn/nexedi/fluent-plugin-wendelin/raw/master/lib/fluent/plugin/wendelin_client.rb
Create /etc/fluent/fluentd.conf:
<source>
@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.*
</source>
<match my_prefix.path.to.files.*.ext>
@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
</match>
[
Fluentd
]:
http://fluentd.org
[Wendelin: http://www.wendelin.io
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment