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

[cribl] reroute to metrics datastreams #10700

Open
kgeller opened this issue Aug 5, 2024 · 3 comments
Open

[cribl] reroute to metrics datastreams #10700

kgeller opened this issue Aug 5, 2024 · 3 comments
Labels
bug Something isn't working, use only for issues Integration:cribl Cribl Team:Security-Service Integrations Security Service Integrations Team [elastic/security-service-integrations]

Comments

@kgeller
Copy link
Contributor

kgeller commented Aug 5, 2024

Cribl reroute processors do not currently work when targeting metrics datastreams. Due to how reroute processors are currently setup, we do not have any configuration to specify the datastream type.

Instead of the current use of dataset and namespace, we need to use the destination.

image (1)

@kgeller kgeller added bug Something isn't working, use only for issues Integration:cribl Cribl labels Aug 5, 2024
@andrewkroh andrewkroh added the Team:Security-Service Integrations Security Service Integrations Team [elastic/security-service-integrations] label Sep 18, 2024
@elasticmachine
Copy link

Pinging @elastic/security-service-integrations (Team:Security-Service Integrations)

@andrewkroh
Copy link
Member

@kgeller, is this because the reroute processor does not support specifying the type (e.g. logs vs metrics)? If so, then let's open a feature request to Elasticsearch. I'd like to move the Cribl integration to GA and I think we should address this first.

@kgeller
Copy link
Contributor Author

kgeller commented Jan 27, 2025

@andrewkroh The issue for us is that the reroute processor does not support routing to a different type. While we could open a feature request with ES to be able to do that, we also have other options we could support today.

Option 1

When I spoke to Felix (original author of reroute), he suggested:

As a workaround, you could have something like a cribl-router index that does an initial routing to something like a logs-cribl-default and logs-metrics-default via destination. From there on, you can do a second routing phase.

Option 2

Another option would be to simply update the docs so that the user specifies metrics for any metrics data that they want to send through. When we build the reroute processor, we don't alter the type. So whatever it comes in as from the Cribl side, is what it remains.

Image

This method isn't super user friendly though as it would require duplicative setups on both the Elastic integration side as well as the Cribl side.


Assuming we move forward with the feature request approach or option 1, we'll also need minimal UI changes so that the user can indicate a data source is of type metrics. Maybe a checkbox?

I say this because as far as I can tell, we don't have a way to tell what the type of the selected datastream is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working, use only for issues Integration:cribl Cribl Team:Security-Service Integrations Security Service Integrations Team [elastic/security-service-integrations]
Projects
None yet
Development

No branches or pull requests

3 participants