Sha256: db0cbc171c791710f3f223cb6e62a809e1c7e6da729fecc28ae2e833edef3afa

Contents?: true

Size: 1 KB

Versions: 1

Compression:

Stored size: 1 KB

Contents

# Example configuration of Wendelin output for Fluentd

# HTTP input
# http://localhost:8888/<tag>?json=<json>
<source>
  @type http
  @id http_input
  port 8888
</source>

# This will match all HTTP request like so
# 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   
  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>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-wendelin-0.5 example/to_wendelin.conf