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-wendelin
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Tyagov
fluent-plugin-wendelin
Commits
27068fc6
Commit
27068fc6
authored
Jul 23, 2020
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add an example of MSGPack transmission to Wendelin from a file.
parent
2b1c718b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
21 deletions
+23
-21
example/to_wendelin.conf
example/to_wendelin.conf
+23
-21
No files found.
example/to_wendelin.conf
View file @
27068fc6
...
...
@@ -8,42 +8,44 @@
port
8888
</
source
>
#
output tag=sensor.** to Wendelin, t
his will match all HTTP request like so
#
T
his will match all HTTP request like so
# ivan@debian: ~$ curl -X POST -d 'json={"foo1":"bar1"}' http://localhost:8888/default_http_json
# then send to Wendelin and append as strings at Wendelin side
<
match
default_http_json
.**>
@
type
wendelin
@
type
wendelin
@
id
wendelin_out
streamtool_uri
<
Wendelin_URL
>/
erp5
/
portal_ingestion_policies
/
default_http_json
# TODO ^^^ do not check peer's certificate
user
<
your_wendelin_user
>
password
<
your_wendelin_password
>
user
<
your_wendelin_user
>
password
<
your_wendelin_password
>
use_keep_alive
true
buffer_type
memory
flush_interval
5
s
use_keep_alive
true
buffer_type
memory
flush_interval
5
s
</
match
>
# tail existing file and send its contents to Wendelin
<
source
>
@
type
tail
path
test
.
log
pos_file
test
.
log
.
pos
tag
fluentd
-
1
@
type
tail
path
test
.
log
pos_file
test
.
log
.
pos
tag
test_sensor
.
test_product
<
parse
>
@
type
none
</
parse
>
</
source
>
<
match
fluentd
-
1
>
@
type
wendelin
@
id
wendelin_out
streamtool_uri
<
Wendelin_URL
>/
erp5
/
portal_ingestion_policies
/
default_http_json
# This will send and streo at Wendelin side in a MsgPack format
<
match
test_sensor
.
test_product
>
@
type
wendelin
@
id
fluentd_out
streamtool_uri
<
Wendelin_URL
>/
erp5
/
portal_ingestion_policies
/
default
# TODO ^^^ do not check peer's certificate
user
<
your_wendelin_user
>
password
<
your_wendelin_password
>
user
<
your_wendelin_user
>
password
<
your_wendelin_password
>
use_keep_alive
true
buffer_type
memory
flush_interval
5
s
use_keep_alive
true
buffer_type
memory
flush_interval
5
s
</
match
>
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