{"id":21056925,"url":"https://github.com/fluent-plugins-nursery/fluent-plugin-out-http","last_synced_at":"2025-04-04T14:05:06.131Z","repository":{"id":6946056,"uuid":"8197806","full_name":"fluent-plugins-nursery/fluent-plugin-out-http","owner":"fluent-plugins-nursery","description":"A generic fluentd output plugin for sending logs to an HTTP endpoint.","archived":false,"fork":false,"pushed_at":"2022-10-24T08:27:39.000Z","size":134,"stargazers_count":69,"open_issues_count":4,"forks_count":62,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-28T13:05:30.952Z","etag":null,"topics":["fluent-plugin"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fluent-plugins-nursery.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-14T10:47:34.000Z","updated_at":"2024-04-23T13:22:39.000Z","dependencies_parsed_at":"2022-07-28T23:48:43.606Z","dependency_job_id":null,"html_url":"https://github.com/fluent-plugins-nursery/fluent-plugin-out-http","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-plugins-nursery%2Ffluent-plugin-out-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-plugins-nursery%2Ffluent-plugin-out-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-plugins-nursery%2Ffluent-plugin-out-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-plugins-nursery%2Ffluent-plugin-out-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluent-plugins-nursery","download_url":"https://codeload.github.com/fluent-plugins-nursery/fluent-plugin-out-http/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247186220,"owners_count":20898121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fluent-plugin"],"created_at":"2024-11-19T16:54:58.193Z","updated_at":"2025-04-04T14:05:06.102Z","avatar_url":"https://github.com/fluent-plugins-nursery.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fluent-plugin-out-http, a plugin for [Fluentd](http://fluentd.org)\n\nA generic [fluentd][1] output plugin for sending logs to an HTTP endpoint.\n\n**NOTE:** This plugin name is overlapped from Fluentd core plugin which name is `out_http`. But core plugin does not provide buffered/non-buffered switch and batch/non-batch request switch. If you want to use these switch features. Please consider to use this plugin.\n\n[![Build Status](https://travis-ci.org/fluent-plugins-nursery/fluent-plugin-out-http.svg?branch=master)](https://travis-ci.org/fluent-plugins-nursery/fluent-plugin-out-http)\n\n## Installation\n\n### For bundler\n\nWrite the following line in Gemfile:\n\n```gemfile\ngem \"fluent-plugin-out-http\"\n```\n\nand then,\n\n```console\n$ bundle install\n```\n\n### for fluentd\n\n```console\n$ fluent-gem install fluent-plugin-out-http\n```\n\n### For td-agent\n\n```console\n$ td-agent-gem install fluent-plugin-out-http\n```\n\n## Configuration options\n\n    \u003cmatch *\u003e\n      @type http\n      endpoint_url    http://localhost.local/api/\n      ssl_no_verify   false  # default: false\n      http_method     put    # default: post\n      serializer      json   # default: form\n      rate_limit_msec 100    # default: 0 = no rate limiting\n      raise_on_error  false  # default: true\n      recoverable_status_codes 503, 400 # default: 503\n      cacert_file     /etc/ssl/endpoint1.cert # default: ''\n      client_cert_path /path/to/client_cert.crt # default: ''\n      private_key_path /path/to/private_key.key # default: ''\n      private_key_passphrase yourpassphrase # default: ''\n      custom_headers  {\"token\":\"arbitrary\"} # default: nil\n      authentication  basic  # default: none\n      username        alice  # default: ''\n      password        bobpop # default: '', secret: true\n      token           tokent # default: ''\n      buffered        true   # default: false. Switch non-buffered/buffered mode\n      bulk_request    false  # default: false. Send events as application/x-ndjson\n      compress_request true  # default: false. Send compressed events\n    \u003c/match\u003e\n\n## Usage notes\n\nIf you'd like to retry failed requests, consider using [fluent-plugin-bufferize][3].\nOr, specify appropriate `recoverable_status_codes` parameter.\n\nTo send events with bulk_request, you should specify `bulk_request` as `true`\nNote that when this parameter as `true`, Fluentd always send events as `application/x-ndjson`.\nCurrently, `application/x-ndjson` is only supported MIME type for bulk_request.\n\n----\n\nHeavily based on [fluent-plugin-growthforecast][2]\n\n  [1]: http://fluentd.org/\n  [2]: https://github.com/tagomoris/fluent-plugin-growthforecast\n  [3]: https://github.com/sabottenda/fluent-plugin-bufferize\n\n## How to release\n\n1. Update `gem.version` of the `gemspec` file.\n1. Update `CHANGELOG.md`.\n1. Commit them.\n1. `$ bundle exec rake release`\n    * It will add and push the tag, and publish the gem.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent-plugins-nursery%2Ffluent-plugin-out-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluent-plugins-nursery%2Ffluent-plugin-out-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent-plugins-nursery%2Ffluent-plugin-out-http/lists"}