{"id":51650,"library":"euank-go-kmsg-parser","title":"go-kmsg-parser","description":"A parser for Linux kernel log messages (kmsg) for reading and decoding kernel ring buffer entries.","status":"active","version":"2.0.0+incompatible","language":"go","source_language":null,"source_url":"https://github.com/euank/go-kmsg-parser","tags":["kernel","kmsg","log-parser","linux"],"install":[{"cmd":"go get github.com/euank/go-kmsg-parser","lang":"bash","label":"Install github.com/euank/go-kmsg-parser"}],"dependencies":[],"imports":[{"symbol":"kmsgparser","correct":"github.com/euank/go-kmsg-parser"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/euank/go-kmsg-parser\"\n)\n\nfunc main() {\n\tparser := kmsgparser.NewParser()\n\tmsg, err := parser.ParseLine(\"6,0,0,0,;Hello kernel\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(msg.Message)\n}","lang":"go","description":"Parses a single kmsg line and prints the message."},"warnings":[{"fix":"Use github.com/euank/go-kmsg-parser/v2 or check for a newer module-compatible release.","message":"The v2 version is tagged with +incompatible, indicating it does not follow Go modules properly. Use v1 or a later compatible version.","severity":"breaking","affected_versions":">=2.0.0 <3.0.0"}],"env_vars":null,"search_vec":"'buffer':19 'decod':16 'entri':20 'go':2 'go-kmsg-pars':1 'kernel':9,17,21 'kmsg':3,12,22 'linux':8,26 'log':10,24 'log-pars':23 'messag':11 'parser':4,6,25 'read':14 'ring':18","created_at":"2026-06-15T06:24:48.649670+00:00","updated_at":"2026-06-15T06:24:48.649670+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/euank/go-kmsg-parser","github":"https://github.com/euank/go-kmsg-parser","docs":"https://pkg.go.dev/github.com/euank/go-kmsg-parser#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility","observability"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}