{"id":19508036,"url":"https://github.com/willabides/eventgrid-pipe","last_synced_at":"2026-05-08T06:32:57.146Z","repository":{"id":57558929,"uuid":"323405943","full_name":"WillAbides/eventgrid-pipe","owner":"WillAbides","description":"Like eventbridge-pipe but for Azure Event Grid","archived":false,"fork":false,"pushed_at":"2020-12-22T00:26:29.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-08T11:34:47.024Z","etag":null,"topics":["azure","azure-event-grid","eventgrid","eventgrid-pipe","golang","shell"],"latest_commit_sha":null,"homepage":"","language":"Go","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/WillAbides.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":"2020-12-21T17:36:34.000Z","updated_at":"2020-12-23T19:26:54.000Z","dependencies_parsed_at":"2022-09-18T04:22:00.686Z","dependency_job_id":null,"html_url":"https://github.com/WillAbides/eventgrid-pipe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"WillAbides/goproject-tmpl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WillAbides%2Feventgrid-pipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WillAbides%2Feventgrid-pipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WillAbides%2Feventgrid-pipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WillAbides%2Feventgrid-pipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WillAbides","download_url":"https://codeload.github.com/WillAbides/eventgrid-pipe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240761046,"owners_count":19853254,"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":["azure","azure-event-grid","eventgrid","eventgrid-pipe","golang","shell"],"created_at":"2024-11-10T23:03:02.535Z","updated_at":"2026-05-08T06:32:57.098Z","avatar_url":"https://github.com/WillAbides.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eventgrid-pipe\n\n[![ci](https://github.com/WillAbides/eventgrid-pipe/workflows/ci/badge.svg?branch=main\u0026event=push)](https://github.com/WillAbides/eventgrid-pipe/actions?query=workflow%3Aci+branch%3Amaster+event%3Apush)\n\n## Install\n\n`go get github.com/willabides/eventgrid-pipe/cmd/egpipe` \n\n## Usage\n\n```\nUsage: egpipe --subject=STRING --type=STRING \u003ctopic-endpoint\u003e\n\negpipe posts events to Azure Event Grid.\n\nexample:\n\n    $ topic_endpoint='https://mytopicendpoint.westus2-1.eventgrid.azure.net'\n    $ topic_key='shhh_secret_topic_key'\n    $ data=\"$(cat \u003c\u003c\"EOF\"\n        {\"action\": \"obj.add\", \"@timestamp\": 1604953432032, \"el_name\": \"foo\", \"doc_id\": \"asdf\"}\n        {\"action\": \"obj.rem\", \"@timestamp\": 1604953732032, \"el_name\": \"bar\", \"doc_id\": \"fdsa\"}\n      EOF\n      )\"\n    $ echo \"$data\" | \\\n      egpipe \"$topic_endpoint\" \\\n      -H \"aeg-sas-key: $topic_key\" \\\n      -T 'jp:\"@timestamp\"' \\\n      -t 'audit-log' \\\n      -s 'jp:action' \\\n      -i 'jp:doc_id'\n\nLearn about JMESPath syntax at https://jmespath.org\n\nArguments:\n  \u003ctopic-endpoint\u003e    Endpoint for posting events\n\nFlags:\n  -h, --help                   Show context-sensitive help.\n  -i, --id=STRING              Value for the \"id\" field. If unset, a uuid will be generated for\n                               each event. JMESPath expressions allowed with \"jp:\" prefix.\n  -s, --subject=STRING         Value for the \"subject\" field. JMESPath expressions allowed with\n                               \"jp:\" prefix.\n  -t, --type=STRING            Value for the \"eventType\" field. JMESPath expressions allowed with\n                               \"jp:\" prefix.\n  -T, --timestamp=\"now\"        Value for the \"eventTime\" field converted from epoch milliseconds.\n                               If unset, the current system time will be used.JMESPath expressions\n                               allowed with \"jp:\" prefix.\n  -H, --header=HEADER,...      Header to sent with the request in the same format as curl. e.g. '-H\n                               \"aeg-sas-key: $EVKEY\"'\n      --data-version=\"1.0\"     Value for the \"dataVersion\" field. JMESPath expressions allowed with\n                               \"jp:\" prefix.\n      --batch-size=10          Number of events to send in a batch.\n      --flush-interval=2000    Time in milliseconds to wait before sending a partial batch. Set to\n                               0 to never send a partial batch.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillabides%2Feventgrid-pipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillabides%2Feventgrid-pipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillabides%2Feventgrid-pipe/lists"}