humio / issues

Issue Tracker for Humio
4 stars 2 forks source link

Link function that generate web links in the web view #25

Closed mwl closed 5 years ago

mwl commented 6 years ago

Would be really nice if we could insert links in tables and groupbys, i.e. something like

link("https://mesosmaster/#/services/detail/" + mesos_service_id, "open in DCOS", as=service_link)
| table([mesos_service_id, service_link])

Function arguments would be something like

Name Type Is required Default value Description
href String true A valid url
label String false Open Label for the link
target String false A tag target attribute
as String false The output name of the field to round (defaults to the same as the input field)
henrikjohansen commented 6 years ago

👍 +1

krestenkrab commented 6 years ago

Fixed?

henrikjohansen commented 6 years ago

Yes.

deejgregor commented 6 years ago

👍 +1 as well

krestenkrab commented 6 years ago

The "fix" we have is that a value that looks like a URL will be displayed as a clickable link. There is no link function, and no way to say something mark-down'ish [text](link). Mayhaps we should simply recognise such a value (where the link part is a URL) and display the text as the label of the link.