{"id":19952614,"url":"https://github.com/qxip/stenoscope","last_synced_at":"2025-06-17T06:34:47.306Z","repository":{"id":57370774,"uuid":"354380679","full_name":"QXIP/stenoscope","owner":"QXIP","description":"SSTable Scanner \u0026 Parser for Stenographer Packet Indices","archived":false,"fork":false,"pushed_at":"2021-05-06T16:56:54.000Z","size":1486,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-25T10:17:49.186Z","etag":null,"topics":["google","hepic","leveldb","metrics","pcap","scan","sstable","sstables","stenographer"],"latest_commit_sha":null,"homepage":"","language":"Go","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/QXIP.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":"2021-04-03T19:48:44.000Z","updated_at":"2022-08-10T02:42:28.000Z","dependencies_parsed_at":"2022-09-26T16:50:35.329Z","dependency_job_id":null,"html_url":"https://github.com/QXIP/stenoscope","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/QXIP/stenoscope","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QXIP%2Fstenoscope","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QXIP%2Fstenoscope/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QXIP%2Fstenoscope/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QXIP%2Fstenoscope/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QXIP","download_url":"https://codeload.github.com/QXIP/stenoscope/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QXIP%2Fstenoscope/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260307981,"owners_count":22989802,"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":["google","hepic","leveldb","metrics","pcap","scan","sstable","sstables","stenographer"],"created_at":"2024-11-13T01:13:52.936Z","updated_at":"2025-06-17T06:34:47.286Z","avatar_url":"https://github.com/QXIP.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![image](https://user-images.githubusercontent.com/1423657/113490373-b0c57500-94c9-11eb-92e0-8747166e6ce7.png)\n\n# Stenoscope\nA golang scanner \u0026 JSON parser for PCAP SST index files generated by [stenographer](https://github.com/google/stenographer) with NodeJS binding\n\n### Command Line\nCompile the command line version using go 1.10+\n```\nmake\n```\n\n#### Usage\n##### JSON\n```\n./SSTableKeys /data/stenographer/1/thread0/index $(date -d '1 minute ago' +%s) $(date +%s)\n```\n\n### NodeJS Module\nCompile the native binding for nodejs (or download a prebuilt version)\n```\nnpm install stenoscope\n```\n\n#### Usage\n```\nconst stenoscope = require('stenoscope');\nvar args = process.argv.slice(2);\n\n// Define Folder Path \u0026 Time Range\nvar datapath = args[0] || '/var/lib/stenographer/thread0/index';\nvar fromtime = parseInt(args[1]) || parseInt(new Date().getTime()/1000) - 60;\nvar totime =   parseInt(args[2]) || parseInt(new Date().getTime()/1000);\n\n// Query SStable range to JSON (sstj)\nconsole.log(\n  sstable.sstj(datapath, fromtime, totime )\n);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqxip%2Fstenoscope","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqxip%2Fstenoscope","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqxip%2Fstenoscope/lists"}