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
Streaming of Build Logs to Additional Target #2104
Comments
Sounds like we'd like to stream build output to an external serbice for all builds, across all pipelines and teams |
@jama-pivotal said this doesn't need to be 100% real time streaming, we just need to ensure a build's logs can be sent somewhere other than Postgres. |
Related: #645 |
We pushed a spike to Some questions and problems that remain:
|
I'd suggest making it possible to send everything the API exposes to the UI: the build metadata, resources and plan. Downstream integrations can build on this. I hacked together a resource to do it, but that won't scale for fully automated capture and analysis. |
I can't speak for the last two questions, but regarding metadata...could we just emit all of the above? |
If you do, I'd suggest providing independent logs for each kind of thing. Plain logs, build-plan logs, build-resources logs, resource-version logs. Or possibly just plain logs and then look at ways to push the more structured stuff into metrics emission. |
To get this unblocked, let's make some reasonable assumptions around tagging and push a v1 and let people provide feedback |
Story #2104 Signed-off-by: Saman Alvi <salvi@pivotal.io>
Story #2104 Signed-off-by: Saman Alvi <salvi@pivotal.io>
Feature:A new syslog drainer functionality was implemented, allowing the atc to stream build logs every ConcernsThis functionality will forward build logs to the configured syslog location. If there is private information in the logs that is currently hidden due to private pipelines or teams, this has the potential to become exposed. The operator should be aware when configuring syslog. Configuring via BOSHatc
Configuring via ATC binaryThe following flags will allow you to configure
|
Hey, Given that we're providing TLS, maybe we should enable the client to accept Wdyt? Thx! |
I think that makes sense. As we were developing this first MVP we only plain tcp and udp in-mind. |
Yeah sounds good!
…On Wed, Sep 5, 2018, 9:14 AM Bishoy Youssef ***@***.***> wrote:
I think that makes sense. As we were developing this first MVP we only
plain tcp and udp in-mind.
Adding the ca-cert is fairly simple.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2104 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAHWAtL70R-BsqE6PRtrbHscHywzqMIks5uX84qgaJpZM4SzMog>
.
|
We added a new flag to the atc:
|
Looking good. I tested this out by searching for "go syslog server" and using the first one I could get running : Ekanite (http://www.philipotoole.com/tag/ekanite/).. and it worked! |
Thank you, all. |
@keithkroeger Yes it can.
|
@pivotal-saman-alvi @YoussB is this feature streaming also the line-by-line timestamps as seen from the Concourse web UI or is it timestamp-less as seen from |
Feature Request
What challenge are you facing?
We would like to be able to store logs for our builds offline (outside of concourse).
We see that the logs are stored within a PostgreSQL table for subsequent use by fly and/or the UI. But, would there be a way to also stream these to some some other location?
This would allow us not only to store logs as part of the provenance of a build artifact but also to be able to possibly support audit needs.
A Modest Proposal
We know that we could stream the output of the table and or the SQL used on the table for build events. But, could this information be somehow also streamed to another source such as Influx or to a file for filebeat use?
The text was updated successfully, but these errors were encountered: