{"id":18414917,"url":"https://github.com/xerial/fluentd-standalone","last_synced_at":"2025-04-07T11:33:02.949Z","repository":{"id":12546952,"uuid":"15217106","full_name":"xerial/fluentd-standalone","owner":"xerial","description":"Standalone fluentd server for Java/Scala","archived":false,"fork":false,"pushed_at":"2019-07-29T18:37:49.000Z","size":1030,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T04:56:53.940Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xerial.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-16T04:35:38.000Z","updated_at":"2019-07-29T18:37:46.000Z","dependencies_parsed_at":"2022-09-26T18:31:54.886Z","dependency_job_id":null,"html_url":"https://github.com/xerial/fluentd-standalone","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/xerial%2Ffluentd-standalone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xerial%2Ffluentd-standalone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xerial%2Ffluentd-standalone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xerial%2Ffluentd-standalone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xerial","download_url":"https://codeload.github.com/xerial/fluentd-standalone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247645247,"owners_count":20972434,"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-11-06T03:52:40.954Z","updated_at":"2025-04-07T11:33:02.139Z","avatar_url":"https://github.com/xerial.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"fluentd-standalone [![Build Status](https://travis-ci.org/xerial/fluentd-standalone.svg?branch=develop)](https://travis-ci.org/xerial/fluentd-standalone) ![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.xerial/fluentd-standalone_2.12/badge.svg) [![Scaladoc](http://javadoc-badge.appspot.com/org.xerial/fluentd-standalone_2.12.svg?label=scaladoc)](http://javadoc-badge.appspot.com/org.xerial/fluentd-standalone_2.12)\n=========\n\nStandalone fluentd (http://fluentd.org) server for Java and Scala.\n\nThis library launches a new fluentd server using a random port when fluentd is not started in the node. \n\nUse cases:\n  * Running test codes that use fluentd (logger) in a build server (e.g., Travis CI, Jenkins, etc.), in which fluentd is not running.\n  \n\n## Usage (Java/Scala)\n\nfluentd depends on some ruby modules. You need to install these dependencies first.\n\nThe simplest way is just install fluentd.\n```\n$ gem install fluentd -v 1.6.2\n```\n\nSee also http://docs.fluentd.org/articles/quickstart.\n\n### Maven\n```xml\n\u003cdependencies\u003e\n  ...\n  \u003cdependency\u003e\n    \u003cgroupId\u003eorg.xerial\u003c/groupId\u003e\n    \u003cartifactId\u003efluentd-standalone_2.12\u003c/artifactId\u003e\n    \u003cversion\u003e1.2.6\u003c/version\u003e\n  \u003c/dependency\u003e\n  ...\n\u003c/dependencies\u003e\n```\n\n### sbt\n```\nlibraryDependencies += \"org.xerial\" %% \"fluentd-standalone\" % \"1.6.2\"\n```\n\n## Sample code\n\n```java\nimport xerial.fluentd.FluentdStandalone;\n\nFluentdStandalone s = new FluentdStandalone();\n// Start new fluentd server\ns.start();\n\n// Send log messsages to fluentd\nint port = s.port(); // fluentd port\n\n// Terminate the fluentd\ns.stop();\n```\n\n\n## For developers\n\n```\n$ git clone https://github.com/xerial/fluentd-standalone.git\n$ cd fluentd-standalone\n$ git submodule init          # Only for the first time\n$ git submodule update        # Fetch fluentd \n\n# Run tests\n$ ./sbt test \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxerial%2Ffluentd-standalone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxerial%2Ffluentd-standalone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxerial%2Ffluentd-standalone/lists"}