{"id":26194293,"url":"https://github.com/active-group/timbre-logstash","last_synced_at":"2025-04-15T03:15:22.748Z","repository":{"id":62434922,"uuid":"39250922","full_name":"active-group/timbre-logstash","owner":"active-group","description":"Timbre appender for logstash","archived":false,"fork":false,"pushed_at":"2016-04-28T10:14:57.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-15T03:15:14.964Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/active-group.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-07-17T11:28:52.000Z","updated_at":"2018-05-01T07:57:53.000Z","dependencies_parsed_at":"2022-11-01T21:02:34.505Z","dependency_job_id":null,"html_url":"https://github.com/active-group/timbre-logstash","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/active-group%2Ftimbre-logstash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/active-group%2Ftimbre-logstash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/active-group%2Ftimbre-logstash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/active-group%2Ftimbre-logstash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/active-group","download_url":"https://codeload.github.com/active-group/timbre-logstash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248997080,"owners_count":21195799,"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":"2025-03-12T01:56:04.024Z","updated_at":"2025-04-15T03:15:22.733Z","avatar_url":"https://github.com/active-group.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# timbre-logstash\n\nSend [Timbre](https://github.com/ptaoussanis/timbre) output to [Logstash](https://www.elastic.co/products/logstash).\n\n## DEPRECATED\n\nThis has been merged into [Timbre](https://github.com/ptaoussanis/timbre) as a 3rd party appender.\n\n## Usage\n\nThe function `timbre-json-appender` returns a Timbre appender, which\nwill connect to a server created with the [Logstash TCP input\nplugin](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-tcp.html),\nand send all events in JSON format to it:\n\n```clojure\n(timbre-logstash/timbre-json-appender host port)\n```\n\nThe returned appender is `enabled?`, not `async?`, has no `min-level`\nand no `rate-limit` set. The `output-fn` setting is not used.\n\nNote that the TCP input plugin of Logstash just puts each received line of text\ninto the `message` field of the Logstash event, so you probably also want\nto expand the structured information in the JSON object with the [JSON\nfilter\nplugin](https://www.elastic.co/guide/en/logstash/current/plugins-filters-json.html).\n\nThe JSON object sent to Logstash by this appender is constructed by\nmerging the Timbre context map with a map consisting of `:level`,\n`:namespace`, `:file`, `:line`, `:stacktrace`, `:hostname` and of\ncourse `:message` fields from the Timbre event data. The conversion of\nEDN values to JSON data is done in the usual way, specifically via\n[`cheshire.core/generate-stream`](https://github.com/dakrone/cheshire).\nThe instant in time of the event will also be added to the Logstash\nevent data as a field named `@timestamp`. This will be picked up by\nthe Logstash JSON filter and set as the time of the event, so you'll\nget the time the event happened, instead of the time the event arrived\nat the Logstash server.\n\n## License\n\nCopyright © 2015-2016 Active Group GmbH\n\nDistributed under the Eclipse Public License either version 1.0 or (at\nyour option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factive-group%2Ftimbre-logstash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factive-group%2Ftimbre-logstash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factive-group%2Ftimbre-logstash/lists"}