{"id":13452383,"url":"https://github.com/repeatedly/fluent-plugin-beats","last_synced_at":"2025-05-09T01:24:00.633Z","repository":{"id":56846869,"uuid":"48199881","full_name":"repeatedly/fluent-plugin-beats","owner":"repeatedly","description":"Fluentd plugin for Elastic beats","archived":false,"fork":false,"pushed_at":"2019-05-14T06:58:31.000Z","size":32,"stargazers_count":46,"open_issues_count":11,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T20:12:09.817Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/repeatedly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-17T21:45:22.000Z","updated_at":"2025-03-27T05:35:02.000Z","dependencies_parsed_at":"2022-09-12T11:44:17.102Z","dependency_job_id":null,"html_url":"https://github.com/repeatedly/fluent-plugin-beats","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/repeatedly%2Ffluent-plugin-beats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/repeatedly%2Ffluent-plugin-beats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/repeatedly%2Ffluent-plugin-beats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/repeatedly%2Ffluent-plugin-beats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/repeatedly","download_url":"https://codeload.github.com/repeatedly/fluent-plugin-beats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251987467,"owners_count":21676027,"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":[],"created_at":"2024-07-31T07:01:22.543Z","updated_at":"2025-05-09T01:24:00.593Z","avatar_url":"https://github.com/repeatedly.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# fluent-plugin-beats\n\n[Fluentd](http://fluentd.org) plugin to accept events from [Elastic Beats](https://www.elastic.co/products/beats).\n\nThis plugin uses lumberjack protocol for communicating with each beat.\n\n## Requirements\n\n| fluent-plugin-beats | fluentd | ruby |\n|-------------------|---------|------|\n| \u003e= 1.0.0 | \u003e= v1.0.0 | \u003e= 2.1 |\n|  \u003c 1.0.0 | \u003e= v0.12.0 | \u003e= 1.9 |\n\n## Installation\n\n    $ gem install fluent-plugin-beats --no-document\n\n## Configuration\n\nConfiguration example:\n\n    \u003csource\u003e\n      @type beats\n      metadata_as_tag\n    \u003c/source\u003e\n\n    # Forward all events from beats to each index on elasticsearch\n    \u003cmatch *beat\u003e\n      @type elasticsearch_dynamic\n      logstash_format true\n      logstash_prefix ${tag_parts[0]}\n      type_name ${record['type']}\n    \u003c/match\u003e\n\n**port**\n\n  The port to listen to. Default Value is `5044`.\n\n  If you use this plugin under multi-process environment in v1, the plugin will be launched in each worker. Port is assigned in sequential number, e.g. 5044, 5045 ... 504N.\n\n**bind**\n\n  The bind address to listen to. Default Value is 0.0.0.0 (all addresses)\n\n**tag**\n\n  The tag of the event.\n\n**metadata_as_tag**\n\n  Use `record['@metadata']['beat']` value instead of fixed tag.\n\n**format**\n\n  The format of the log. This format is used for `message` field of `filebeat` event. See Parser article for more detail: http://docs.fluentd.org/articles/parser-plugin-overview\n\n**max_connections**\n\n  Limit the number of connections from beat instances. Default is unlimited.\n\n**use_ssl**, **ssl_certificate**, **ssl_key**, **ssl_key_passphrase**, **ssl_version**, **ssl_ciphers**\n\n  For lumberjack protocol.\n\n## Note\n\n* `lumberjack` directory is copied from `logstash-input-beats` and bit modified.\n  * Add `Server::Connection#closed?` to check connection is dead or not\n  * Remove `id_stream` argument from `Server::Connection#run` block\n* From lumberjack limitation, this plugin launches one thread for each connection. You can mitigate this problem by `max_connections`.\n\n## Slide\n\nTalk at Elasticsearch meetup #14: [Fluentd meets Beats](http://www.slideshare.net/repeatedly/fluentpluginbeats-at-elasticsearch-meetup-14)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frepeatedly%2Ffluent-plugin-beats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frepeatedly%2Ffluent-plugin-beats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frepeatedly%2Ffluent-plugin-beats/lists"}