Skip to content

parolkar/fluent-plugin-http-enhanced

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

This plugin enables some advanced features on existing HTTP input plugin

gem install fluent-plugin-http-enhanced
<source>
  type httpenhanced
  port <port_to_listen>
  full_query_string_record <true/false> # this will allow request like http://host:port/tag?key1=value1&key2=value2 to be translated to json.
  respond_with_empty_img <true/false> # this will respond with empty gif image of 1x1 pixel. Its usefull when you use image tags to fire events (like Google Analytics) 
  default_tag development # this tag will be used if your request has no tag in it eg. http://host:port/?key1=value1&key2=value2
</source>

If your events contain a param named ‘time’ or ‘t’ (eg. host:port/tag?key1=value1&t=123456789), it will be treated as timestamp for the event (Unix epoch time format) It also serves /crossdomain.xml so that your flash apps can post events too.

Copyright

Copyright © 2015 Abhishek Parolkar

License

Apache License, Version 2.0

About

Enhanced HTTP input plugin for Fluent event collector

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages