elastic / integrations

Elastic Integrations
https://www.elastic.co/integrations
Other
186 stars 391 forks source link

TSDB for Input Packages #5863

Open ishleenk17 opened 1 year ago

ishleenk17 commented 1 year ago

We have been adding TSDB fields to OOTB Integrations where the developer defines all the field mappings beforehand. Opening up this ticket to curate information/brainstorm on how do we deal with TSDB for Input Packages.

There is no default field mappings in Input Packages. Are we going to provide the user with the option to add the dimension while doing his custom mappings? Or is the stand to not support TSDB for Input Packages for now?

cc: @lalit-satapathy @rameshelastic

lalit-satapathy commented 1 year ago

We will need a way to have input packages (of type metrics), to have _metrictypes and dimensions annotated; Similar to currently being done for the integration packages. We can take this up, once the initial integration packages are rolled out to the early TSDB customers.

Let's explore, what are the gating changes in the mean time, for us to enable the same.

lalit-satapathy commented 1 year ago

We had a brief chat among the TSDB team for input package, we would need further discussion. Let me summarise the initial thoughts here:

CC: @ruflin

ishleenk17 commented 1 year ago
  • Note: input packages do not have any data streams, will enablement like this supported at a package manifest file?

Yes, we will have to add it in the package manifest file

  • What is the process to define dimensions for metrics ingested by input packages?

Currently in the custom mappings I don't see any option to add dimension, metric_types during custom mappings.

  • Can we have any package level pre-fined mappings for the above or these are defined runtime?

There will be some default mapping( for fields which we know are always going to be mapped a certain way). And there will be user mapped fields as well., The way we add dimension for both will vary.

botelastic[bot] commented 1 month ago

Hi! We just realized that we haven't looked into this issue in a while. We're sorry! We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1. Thank you for your contribution!