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

Ingest node time period processor #40615

Closed
jbaiera opened this issue Mar 28, 2019 · 2 comments
Closed

Ingest node time period processor #40615

jbaiera opened this issue Mar 28, 2019 · 2 comments
Labels
:Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >enhancement Team:Data Management Meta label for data/management team

Comments

@jbaiera
Copy link
Member

jbaiera commented Mar 28, 2019

Users often model events using a start and end time as two different fields on a document. It is often advantageous to determine the difference in duration for those two dates.

This enhancement request is to create a period processor that can read two input fields in date form and calculate the period of time between the dates as a long value in the time unit chosen.

Since the date values may be affected by timezone offsets, and requires a different pattern for obtaining inputs from the ingest document, the thought is to build this as a separate processor from the planned duration processor (#39857) which only deals with general spans of time not related to a contextual date. The period processor would take dates and offsets into account to ensure that time changes are accurately calculated. Additionally, having separate duration and period processor implementations would allow for clarifying the differences in semantics between the two.

An example:

{
  "period": {
    "start_field": "time.begin",
    "end_field": "time.end",
    "to_unit": "seconds",
    "target_field": "time.in_seconds"
  }
}
@jbaiera jbaiera added >enhancement :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP labels Mar 28, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features

@dakrone
Copy link
Member

dakrone commented May 17, 2024

This has been open for quite a while, and we haven't made much progress on this due to focus in other areas. For now I'm going to close this as something we aren't planning on implementing. We can re-open it later if needed.

@dakrone dakrone closed this as not planned Won't fix, can't repro, duplicate, stale May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >enhancement Team:Data Management Meta label for data/management team
Projects
None yet
Development

No branches or pull requests

4 participants