Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for gopacket input #491

Open
gmonk opened this issue Aug 29, 2020 · 1 comment
Open

Add Support for gopacket input #491

gmonk opened this issue Aug 29, 2020 · 1 comment
Labels
enhancement inputs Any tasks or issues relating specifically to inputs

Comments

@gmonk
Copy link

gmonk commented Aug 29, 2020

Would it be possible to add support for packet sniffing using gopacket as an input ? I could see this being useful for logging or security applications and would also pair well with the Elasticsearch output. All parameters could be added into the yaml config such as which interface to sniff on which packet filter to run or which protocols you are interested in decoding. If are there any docs that explain how to create your own inputs ?

Thanks

@Jeffail Jeffail added enhancement inputs Any tasks or issues relating specifically to inputs labels Aug 30, 2020
@Jeffail
Copy link
Collaborator

Jeffail commented Aug 30, 2020

Hey @gmonk, sounds interesting and could be a good fit, if you'd like to experiment then it might be worth trying it out as a plugin, there's an example here: https://github.com/benthosdev/benthos-plugin-example/blob/master/input/gibberish.go

And then if you want help translating it into a PR for a native input I can walk you through it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement inputs Any tasks or issues relating specifically to inputs
Projects
None yet
Development

No branches or pull requests

2 participants