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

indexPattern expression function #62106

Closed
3 of 6 tasks
ppisljar opened this issue Apr 1, 2020 · 2 comments
Closed
3 of 6 tasks

indexPattern expression function #62106

ppisljar opened this issue Apr 1, 2020 · 2 comments
Assignees
Labels
Feature:Data Views Data Views code and UI - index patterns before 8.0 Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline)

Comments

@ppisljar
Copy link
Member

ppisljar commented Apr 1, 2020

To make reference extraction from expressions easy/possible we should limit the usage of core api's to specific functions. The only function loading the index patterns should be indexPattern function, so we know to search for it and can extract the index pattern id and replace it with reference.

  • create utility methods to serialize/deserialize index pattern instance
  • create expressions index pattern type (which is the type this function will return)
  • create index_pattern expression function that takes id as an argument and returns serialized version of index pattern

followup:

related: #59960
blocks: #61768
parent issue: #61769

@ppisljar ppisljar added Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline) Team:AppArch labels Apr 1, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@lukeelmers
Copy link
Member

lukeelmers commented Jul 30, 2020

I'm going to close this issue now that we've introduced indexPatternLoad. i will plan to address the follow up items in #61768

kibana-app-arch automation moved this from 7.9 to Done in current release Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Data Views Data Views code and UI - index patterns before 8.0 Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline)
Projects
kibana-app-arch
  
Done in current release
Development

No branches or pull requests

3 participants