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 HTTP output handler #523

merged 1 commit into from Feb 11, 2019


None yet
2 participants
Copy link

commented Feb 8, 2019

Adding a simple HTTP handler that allows you to post JSON output directly to a HTTP endpoint instead of the current method of using the program output and curl.

This was implemented in C++ and the outputs.lua calls back into C++ to handle the the http post using libcurl.

This can be enabled by setting the http_output option in falco.yaml to enabled: true.

  enabled: true
  url: http://some.url/you/post/to

This comment has been minimized.

Copy link
Member Author

commented Feb 8, 2019

@mstemm this is failing on gcc-6, just fyi. I know you're working on it

@mfdii mfdii force-pushed the mfdii/add_http_output branch from 8efceb2 to 66d2151 Feb 11, 2019

@mstemm mstemm self-requested a review Feb 11, 2019


mstemm approved these changes Feb 11, 2019

Copy link

left a comment

Looks good. Since the http request is blocking we should note this in the docs/wiki. We'll fix the whole output channels to be non-blocking in a (soon) later PR.

@mstemm mstemm merged commit 79d408f into dev Feb 11, 2019

2 checks passed

Travis CI - Branch Build Passed
Travis CI - Pull Request Build Passed

@mstemm mstemm deleted the mfdii/add_http_output branch Feb 11, 2019

@mstemm mstemm referenced this pull request May 13, 2019


Document falco http output #601

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.