{"id":26233959,"url":"https://github.com/teragrep/nlf_01","last_synced_at":"2026-01-28T11:04:54.186Z","repository":{"id":275768362,"uuid":"926983434","full_name":"teragrep/nlf_01","owner":"teragrep","description":"Teragrep Neon log format plugin for AKV_01","archived":false,"fork":false,"pushed_at":"2026-01-16T09:24:33.000Z","size":165,"stargazers_count":0,"open_issues_count":13,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-17T17:24:55.649Z","etag":null,"topics":["teragrep"],"latest_commit_sha":null,"homepage":"https://teragrep.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-04T07:45:41.000Z","updated_at":"2026-01-16T09:24:03.000Z","dependencies_parsed_at":"2025-02-04T14:22:14.093Z","dependency_job_id":"aff784f6-ec99-4116-b5e0-9887dc282e63","html_url":"https://github.com/teragrep/nlf_01","commit_stats":null,"previous_names":["teragrep/nlf_01"],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/teragrep/nlf_01","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Fnlf_01","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Fnlf_01/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Fnlf_01/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Fnlf_01/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teragrep","download_url":"https://codeload.github.com/teragrep/nlf_01/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Fnlf_01/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28844450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T10:53:21.605Z","status":"ssl_error","status_checked_at":"2026-01-28T10:53:20.789Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["teragrep"],"created_at":"2025-03-13T01:18:17.299Z","updated_at":"2026-01-28T11:04:54.157Z","avatar_url":"https://github.com/teragrep.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"// Before publishing your new repository:\n// 1. Write the readme file\n// 2. Update the issues link in Contributing section in the readme file\n// 3. Update the discussion link in config.yml file in .github/ISSUE_TEMPLATE directory\n\n= nlf_01 - Teragrep Neon log format plugin for AKV_01\n\n// Add a short description of your project. Tell what your project does and what it's used for.\n\nThis project implements https://github.com/teragrep/akv_01[AKV_01] `Plugin` and `PluginFactory` interfaces for Neon log formats.\nThe plugin is used to set more appropriate values for the fields in the produced SyslogMessage based on the type of\nevent processed.\n\n== Features\n\n// List your project's features\n* Detects the type of event based on the event's JSON payload.\n* Appropriate values are inserted into the produced SyslogMessage's fields.\n* In case the event processed is not of expected type, a `PluginException` will be thrown so the\nevent processing can fallback to a default `Plugin` implementation.\n\n== Documentation\n\nSee the official documentation on https://docs.teragrep.com[docs.teragrep.com].\n\n\n== How to compile\nThe project can be compiled by using https://maven.apache.org/guides/getting-started/index.html[Maven]. It is recommended to use Java 11.\n\n[source,bash]\n----\n$ mvn clean package\n----\n\n== How to use\n\nThe following code block is a simple example on how the plugin can be used.\nIt demonstrates two things:\nHow to initialize a `ParsedEvent` to be used as the input,\nand also how to use the `NLFPluginFactory` to initialize the `NLFPlugin`\nand provide it with the initialized `ParsedEvent` input as a parameter.\n\n[source,java]\n----\nimport com.teragrep.akv_01.event.EventImpl;\nimport com.teragrep.akv_01.event.ParsedEvent;\nimport com.teragrep.nlf_01.NLFPlugin;\nimport com.teragrep.nlf_01.NLFPluginFactory;\nimport com.teragrep.rlo_14.SyslogMessage;\n\n// The EventImpl object can be used to produce a ParsedEvent\nParsedEvent parsedEvent = new EventImpl(...).parsedEvent();\n\n// Initialize the plugin via the PluginFactory\nNLFPluginFactory nlfPluginFactory = new NLFPluginFactory();\nNLFPlugin nlfPlugin = nlfPluginFactory.plugin(\"\");\n\n// The plugin can produce syslogMessages from the provided ParsedEvent\nList\u003cSyslogMessage\u003e syslogMessages = nlfPlugin.syslogMessage(parsedEvent);\n----\n\nThe plugin uses environment variables `CONTAINERLOG_HOSTNAME_ANNOTATION` and `CONTAINERLOG_APPNAME_ANNOTATION` for Container type events.\nThese environment variables should contain the JSON keys from where the values should be gathered.\n`SYSLOGTYPE_PROCESSNAME` environment variable is used for Syslog type events. The environment variable should contain the value\nfor the JSON key `ProcessName`, which is used to determine the event type.\n\n\n// add instructions how people can start to use your project\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/nlf_01/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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteragrep%2Fnlf_01","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteragrep%2Fnlf_01","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteragrep%2Fnlf_01/lists"}