{"id":22475522,"url":"https://github.com/philips/luvit-systemd-journal","last_synced_at":"2026-01-07T00:06:32.732Z","repository":{"id":4482269,"uuid":"5621316","full_name":"philips/luvit-systemd-journal","owner":"philips","description":"luvit bindig for the systemd journal","archived":false,"fork":false,"pushed_at":"2012-08-30T23:56:57.000Z","size":100,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T20:31:38.925Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/philips.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":"2012-08-30T21:40:59.000Z","updated_at":"2013-10-19T12:37:00.000Z","dependencies_parsed_at":"2022-09-12T12:00:39.214Z","dependency_job_id":null,"html_url":"https://github.com/philips/luvit-systemd-journal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips%2Fluvit-systemd-journal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips%2Fluvit-systemd-journal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips%2Fluvit-systemd-journal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips%2Fluvit-systemd-journal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philips","download_url":"https://codeload.github.com/philips/luvit-systemd-journal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245891458,"owners_count":20689336,"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-12-06T13:18:05.213Z","updated_at":"2026-01-07T00:06:32.705Z","avatar_url":"https://github.com/philips.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# luvit systemd journal binding\n\nFFI based luvit binding for the systemd journal.\n\n## Usage\n\nAs a first pass the api only supports print and send.\n\n```\nlocal fmt = require('string').format\nlocal Journal = require('systemd-journal')\n\nj = Journal:new()\n\nj:print(1, \"Hello World From Print\")\nj:send({PRIORITY=1, MESSAGE=\"Hello World From Send\", VERSION=process.version})\n```\n\n## Example Output\n\n```\n$ journalctl -a --no-pager -o json _COMM=luvit\n{\n\t\"__CURSOR\" : \"s=d58ef18f951e4e339f5270c8078449c6;i=98d;b=cd1a5d7ff6a94fadb4527bfcf58ade0d;m=3e9b7655b;t=4c88284d8d524;x=3415b51775800191;p=system.journal\",\n\t\"__REALTIME_TIMESTAMP\" : \"1346362806949156\",\n\t\"__MONOTONIC_TIMESTAMP\" : \"16806012251\",\n\t\"_BOOT_ID\" : \"cd1a5d7ff6a94fadb4527bfcf58ade0d\",\n\t\"MESSAGE\" : \"Hello World From Print\",\n\t\"PRIORITY\" : \"1\",\n\t\"_TRANSPORT\" : \"journal\",\n\t\"_PID\" : \"4129\",\n\t\"_UID\" : \"1001\",\n\t\"_GID\" : \"1001\",\n\t\"_COMM\" : \"luvit\",\n\t\"_EXE\" : \"/home/philips/luvit/out/Debug/luvit\",\n\t\"_CMDLINE\" : \"./out/Debug/luvit tests/systemd-journal.lua\",\n\t\"_AUDIT_SESSION\" : \"21\",\n\t\"_AUDIT_LOGINUID\" : \"1001\",\n\t\"_SYSTEMD_CGROUP\" : \"/user/philips/21\",\n\t\"_SYSTEMD_SESSION\" : \"21\",\n\t\"_SELINUX_CONTEXT\" : \"unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023\",\n\t\"_SOURCE_REALTIME_TIMESTAMP\" : \"1346362806948744\",\n\t\"_MACHINE_ID\" : \"9e3d4b6532ff41e1ab40d6b4e5609907\",\n\t\"_HOSTNAME\" : \"fedora17vm.local\"\n},\n{\n\t\"__CURSOR\" : \"s=d58ef18f951e4e339f5270c8078449c6;i=98e;b=cd1a5d7ff6a94fadb4527bfcf58ade0d;m=3e9b76990;t=4c88284d8d959;x=5cf8d9945f34aab1;p=system.journal\",\n\t\"__REALTIME_TIMESTAMP\" : \"1346362806950233\",\n\t\"__MONOTONIC_TIMESTAMP\" : \"16806013328\",\n\t\"_BOOT_ID\" : \"cd1a5d7ff6a94fadb4527bfcf58ade0d\",\n\t\"PRIORITY\" : \"1\",\n\t\"MESSAGE\" : \"Hello World From Send\",\n\t\"VERSION\" : \"0.5.0-163-g255e888\",\n\t\"_TRANSPORT\" : \"journal\",\n\t\"_PID\" : \"4129\",\n\t\"_UID\" : \"1001\",\n\t\"_GID\" : \"1001\",\n\t\"_COMM\" : \"luvit\",\n\t\"_EXE\" : \"/home/philips/luvit/out/Debug/luvit\",\n\t\"_CMDLINE\" : \"./out/Debug/luvit tests/systemd-journal.lua\",\n\t\"_AUDIT_SESSION\" : \"21\",\n\t\"_AUDIT_LOGINUID\" : \"1001\",\n\t\"_SYSTEMD_CGROUP\" : \"/user/philips/21\",\n\t\"_SYSTEMD_SESSION\" : \"21\",\n\t\"_SELINUX_CONTEXT\" : \"unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023\",\n\t\"_SOURCE_REALTIME_TIMESTAMP\" : \"1346362806949842\",\n\t\"_MACHINE_ID\" : \"9e3d4b6532ff41e1ab40d6b4e5609907\",\n\t\"_HOSTNAME\" : \"fedora17vm.local\"\n}\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilips%2Fluvit-systemd-journal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilips%2Fluvit-systemd-journal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilips%2Fluvit-systemd-journal/lists"}