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 fluentbit to opensearch log shipping #19

Merged
merged 16 commits into from
Aug 31, 2022
Merged

add fluentbit to opensearch log shipping #19

merged 16 commits into from
Aug 31, 2022

Conversation

jaketf
Copy link
Contributor

@jaketf jaketf commented Aug 25, 2022

both services are running still working on getting them to talk properly.

Note, revised the scope on this with @xpositivityx to remove SSL / custom users to a future PR. See massdriver-cloud/terraform-modules#31

@jaketf jaketf marked this pull request as ready for review August 31, 2022 19:34
@jaketf jaketf requested a review from WillBeebe as a code owner August 31, 2022 19:34
@jaketf jaketf requested review from chrisghill and WillBeebe and removed request for WillBeebe August 31, 2022 19:34
properties:
observability:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we like this structure we can make this a type and ref it from each cloud's cluster.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like that idea. I'll back it out to a type once I confirm it's working as expected in staging

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would advise not extracting this to a separate type. EKS will have log options the others won't (Cloudwatch, managed Opensearch), GKE same (Stackdriver) and same with AKS.

We should use the same structure, but not force them to use the same type.

Copy link
Contributor

@WillBeebe WillBeebe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Jake

@jaketf jaketf merged commit 3f72c70 into main Aug 31, 2022
@jaketf jaketf deleted the fluentd-opensearch branch August 31, 2022 20:49
- collection
- destination
properties:
collection:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need to ask them about the "collector". If they select a log destination that requires a collector, it will be fluentbit. This is an implementation detail that users shouldn't need to care about as long as the logs arrive where they want.

This also becomes a logic issue when we support datadog, where their agent does collection. What happens if they select datadog collector and opensearch destination?

All we need to ask is where they want their logs. We'll handle the internals to get it there.

properties:
observability:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would advise not extracting this to a separate type. EKS will have log options the others won't (Cloudwatch, managed Opensearch), GKE same (Stackdriver) and same with AKS.

We should use the same structure, but not force them to use the same type.

@jaketf jaketf restored the fluentd-opensearch branch August 31, 2022 21:30
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

Successfully merging this pull request may close these issues.

3 participants