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

[Field formatters] Additional variables for URL field formatter #77087

Closed
Tracked by #163011
gimmic opened this issue Sep 9, 2020 · 7 comments
Closed
Tracked by #163011

[Field formatters] Additional variables for URL field formatter #77087

gimmic opened this issue Sep 9, 2020 · 7 comments
Labels
enhancement New value added to drive a business result Feature:FieldFormatters Icebox impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph)

Comments

@gimmic
Copy link

gimmic commented Sep 9, 2020

It might be nice for UI-driven integration/pivots if more aspects of the current context around a document could be made available as variables in the index field label templates.
Currently supported: {{value}}

Passing this as a URI variable in the URL field template can build out some interesting pivots to other tools or human-driven interactions as pivots. I am currently using this to pass the document _id to a third party tool on human click.
Example of the field label as a URL template in a pivot: http://10.20.20.50:8080/search/?docid={{value}}

Other values that might be nice to be able to provide additional context could include:
{{ index }} the current index pattern (can be set statically already since field templates are tied to index patterns)
{{ timerange }} the current date range
{{ user }} the authenticated kibana username
{{ now }} a current datestamp
{{ field-fieldname }} other specific fields in that document

@wylieconlon
Copy link
Contributor

@gimmic Based on context, it looks like you are asking about the URL field formatter.

@elasticmachine
Copy link
Contributor

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

@wylieconlon wylieconlon added the enhancement New value added to drive a business result label Sep 10, 2020
@wylieconlon wylieconlon changed the title Expand variable set for index pattern field template labels [Field formatters] Additional variables for URL field formatter Sep 10, 2020
@gimmic
Copy link
Author

gimmic commented Sep 11, 2020

@wylieconlon Yes, thank you for clarification, I wasn't sure what to label it as.

@exalate-issue-sync exalate-issue-sync bot added impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort labels Jun 16, 2021
@sixstringcode sixstringcode self-assigned this Oct 6, 2021
@petrklapka petrklapka added Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph) and removed Team:AppServicesSv labels Dec 12, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@kertal kertal added the Icebox label Aug 11, 2023
@davismcphee
Copy link
Contributor

Related/duplicate: #15030

@nerophon
Copy link
Contributor

nerophon commented Aug 16, 2023

Having this feature would greatly enhance the capability to pivot from discover to dashboards. It would be a significant workflow benefit to enterprise users who need to pivot often and quickly.

@kertal
Copy link
Member

kertal commented Sep 18, 2024

Closing this because it's not planned to be resolved in the foreseeable future. It will be tracked in our Icebox and will be re-opened if our priorities change. Feel free to re-open if you think it should be melted sooner.

@kertal kertal closed this as not planned Won't fix, can't repro, duplicate, stale Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:FieldFormatters Icebox impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph)
Projects
None yet
Development

No branches or pull requests

8 participants