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

Incorporate FAC Logshipper into Shared Modules #40

Open
asteel-gsa opened this issue May 14, 2024 · 0 comments
Open

Incorporate FAC Logshipper into Shared Modules #40

asteel-gsa opened this issue May 14, 2024 · 0 comments

Comments

@asteel-gsa
Copy link
Contributor

asteel-gsa commented May 14, 2024

As discussed with Ryan we have a module that we built called the logshipper. This is the terraform module that references the cg-logshipper in order to get the cgov system logs sent to new relic.

The idea of this logshipper application is as follows:

  • Create a logshipper application
  • Bind any necessary services to the logshipper
  • Generate a logdrain sysurl
  • Bind the drain to the core running application
  • Stream the firehose to newrelic logs

Considerations:

  • a logshipper-network-policy will need to be created from logshipper to https_proxy
  • fluentbit.conf is custom for our application, though it does not deviate heavily from the upstream version.
  • We give the logshipper a dedicated s3 so that the logs can be stored in a dedicated bucket
  • New Relic credentials are stored as a cloudfoundry_user_provided_service and will need to be configured.
  • The logshipper uses its own set of HTTP_USER and HTTP_PASS credentials

Ticket is subject to change as this is a temporary placeholder to give a brief overview.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant