Commit 9ce63b42 authored by Ivan Tyagov's avatar Ivan Tyagov

Wendelin uses only one default Ingestion Policy thus adjust accordingly.

See merge request !6
parents 27068fc6 95efabf2
......@@ -9,43 +9,27 @@
</source>
# This 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.**>
# ivan@debian: ~$ curl -X POST -d 'json={"foo1":"bar1"}' http://localhost:8888/test_sensor.test_product
# then send to Wendelin and append as MsgPack encoded string at Wendelin side
<match test_sensor.test_product.**>
@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>
use_keep_alive true
buffer_type memory
flush_interval 5s
</match>
# tail existing file and send its contents to Wendelin
<source>
@type tail
path test.log
pos_file test.log.pos
tag test_sensor.test_product
<parse>
@type none
</parse>
</source>
# 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>
use_keep_alive true
buffer_type memory
flush_interval 5s
</match>
# Example: tailing existing file and send its contents to Wendelin
# Uncomment below to enable
#<source>
# @type tail
# path test.log
# pos_file test.log.pos
# tag test_sensor.test_product
# <parse>
# @type none
# </parse>
#</source>
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