{"id":26233961,"url":"https://github.com/teragrep/rlo_08","last_synced_at":"2026-02-18T02:01:18.962Z","repository":{"id":47229277,"uuid":"456467406","full_name":"teragrep/rlo_08","owner":"teragrep","description":"Syslog (RFC 5424) formatter for JavaScript","archived":false,"fork":false,"pushed_at":"2025-04-07T13:36:26.000Z","size":128,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-06T11:35:36.200Z","etag":null,"topics":["javascript","javascript-library","javascript-syslog","log-management","logging","rfc-5424","rfc5424","syslog","syslog-formatter","teragrep"],"latest_commit_sha":null,"homepage":"https://teragrep.com","language":"JavaScript","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/teragrep.png","metadata":{"files":{"readme":"README.adoc","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-02-07T10:57:02.000Z","updated_at":"2025-04-07T13:36:30.000Z","dependencies_parsed_at":"2023-12-11T11:28:24.016Z","dependency_job_id":"c93f20d4-c544-4a32-acc6-8ec669dc015e","html_url":"https://github.com/teragrep/rlo_08","commit_stats":{"total_commits":69,"total_committers":1,"mean_commits":69.0,"dds":0.0,"last_synced_commit":"0ecd5fe7b6f3f77033ef92a821681814cca39a24"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/teragrep/rlo_08","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Frlo_08","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Frlo_08/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Frlo_08/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Frlo_08/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teragrep","download_url":"https://codeload.github.com/teragrep/rlo_08/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Frlo_08/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29566366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T00:47:08.760Z","status":"online","status_checked_at":"2026-02-18T02:00:09.468Z","response_time":162,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["javascript","javascript-library","javascript-syslog","log-management","logging","rfc-5424","rfc5424","syslog","syslog-formatter","teragrep"],"created_at":"2025-03-13T01:18:17.657Z","updated_at":"2026-02-18T02:01:18.947Z","avatar_url":"https://github.com/teragrep.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"image::https://avatars.githubusercontent.com/u/71876378?s=200\u0026v=4[Teragrep Logo]\n\n# RLO_08: Syslog (RFC 5424) formatter for JavaScript\n\nGenerates Syslog messages in RFC 5424 format.\n\n### Generate the Syslog messages\n\n```javascript\nlet message = new SyslogMessage.Builder()\n        .withAppName('bulk-data-sorted')\n        //.withTimestamp(timestamp) // In case if the timestamp disabled, it will go with system timestamp.\n        .withHostname('iris.teragrep.com')\n        .withFacility(Facility.LOCAL0)\n        .withSeverity(Severity.INFORMATIONAL)\n        .withProcId('8740')\n        .withMsgId('ID47')\n        .withMsg('Don’t test it as NÀSÀ¶¶ Àpplication') // Fixed: Problem with handling utf8 characters.\n        .withSDElement(new SDElement(\"exampleSDID@32473\", new SDParam(\"iut\", \"3\"), new SDParam(\"eventSource\", \"Àpplication\"))) //Updated support for UTF-8 \n        .build()\n\n```\n\n\n## RLP_02 Integration \u0026 Configuration\n\n### Install RLP_02\n\n```cmd\nnpm install @teragrep/rlp_02\n```\n\n\n### RLP_02 RelpConnection configuration \u0026 usage\n\n```javascript\nlet relpConnection = new RelpConnection();\nlet host = '127.0.0.1';\nlet port = \u003c\u003cSET YOUR PORT#\u003e\u003e;\n \n \nasync.waterfall(\n    [\n        function init(setConnect) {\n            setConnect(null, port, host)\n        },\n        connect,\n        load,\n        commit,\n        disconnect\n \n    ],\n    function (err) {\n        if(err) {\n            console.log(err);\n        }\n        else {\n            console.log('No Error')\n        }\n    }\n)\nasync function connect() {\n    let conn = await relpConnection.connect(cfePort, host);\n    return conn;\n}\n \nasync function disconnect(state) {\nif(state){\n     await relpConnection.disconnect();\n}\nelse {\n    console.log('Check the connection...')\n  }\n}\n```\n\n## Contributing\n\n// Change the repository name in the issues link to match with your project's name\n\nYou can involve yourself with our project by https://github.com/teragrep/rlo_08/issues/new/choose[opening an issue] or submitting a pull request. \n\nContribution requirements:\n\n. *All changes must be accompanied by a new or changed test.* If you think testing is not required in your pull request, include a sufficient explanation as why you think so.\n. Security checks must pass\n. Pull requests must align with the principles and http://www.extremeprogramming.org/values.html[values] of extreme programming.\n. Pull requests must follow the principles of Object Thinking and Elegant Objects (EO).\n\nRead more in our https://github.com/teragrep/teragrep/blob/main/contributing.adoc[Contributing Guideline].\n\n### Contributor License Agreement\n\nContributors must sign https://github.com/teragrep/teragrep/blob/main/cla.adoc[Teragrep Contributor License Agreement] before a pull request is accepted to organization's repositories. \n\nYou need to submit the CLA only once. After submitting the CLA you can contribute to all Teragrep's repositories. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteragrep%2Frlo_08","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteragrep%2Frlo_08","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteragrep%2Frlo_08/lists"}