# Open a non-http link

**URL:** <https://discuss.elastic.co/t/open-a-non-http-link/320674>\
**Category:** Kibana\
**Created:** [December 7, 2022, 10:42am UTC](https://discuss.elastic.co/t/open-a-non-http-link/320674 "2022-12-07T10:42:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GinkoLucas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ginkolucas/32/107055_2.png) [@GinkoLucas](https://discuss.elastic.co/u/GinkoLucas)\
**Post date:** [December 7, 2022, 10:42am UTC](https://discuss.elastic.co/t/open-a-non-http-link/320674/1 "2022-12-07T10:42:59Z")

</div>

Hello,

In my data i have some ip adress. I would like to open a teamviewer connection with this IP adress.  
So, for this, i have modified the data view. I change the field's type in "Link", and i put this in the URL template : "teamviewer10://control?device={{value}}"

The problem is that Kibana dont understand the link and interpret like this : "[https://mydeploiement](https://mydeploiement):XXXX/app/teamviewer10://control?device=IPAdress"

Apparently the problem is that my link does not start with HTTP.

So how can I get Kibana to open a link without http in the right way?  
If it's impossible, do you have a trick? (An http link that allows to open others... I don't know ^^)

If you have some questions, I'm here.

Thx

---

<div class="post-metadata">

**Author:** ![jughosta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jughosta/32/107160_2.png) [@jughosta](https://discuss.elastic.co/u/jughosta)\
**Post date:** [December 7, 2022, 11:39am UTC](https://discuss.elastic.co/t/open-a-non-http-link/320674/2 "2022-12-07T11:39:59Z")

</div>

Hi @GinkoLucas,

This is a known issue. Please use these links for tracking and commenting:

> <https://github.com/elastic/kibana/issues/16983>
>
> \*\*Kibana version\*\*: 6.2.2
> 
> \*\*Elasticsearch version\*\*: 6.2.2
> 
> \*\*Server OS ver…sion\*\*: Windows Server 2016
> 
> \*\*Browser version\*\*: Chrome 64
> 
> \*\*Browser OS version\*\*: Windows 7
> 
> \*\*Original install method (e.g. download page, yum, from source, etc.)\*\*: Download page
> 
> \*\*Description of the problem including expected versus actual behavior\*\*: When there is a URL field that starts with file://, Kibana creates an &lt;a&gt; tag with href="http://myserver/app/file//\[etc\]" which is not usable.
> 
> \*\*Steps to reproduce\*\*:
> 1. Create a document with a field called "test" that has a value, "file://c/temp.txt."
> 2. Set the "test" field to be in the URL format
> 3. When viewing the document, try to click on the "test" link
> 
> This was also reported in the forums https://discuss.elastic.co/t/kibana-url-format-bug-file/121414 (the poster there said they would create an issue, but I haven't been able to find it).
> 
> I think the fix for this would just be to add "file://" to whitelistUrlSchemes in https://github.com/elastic/kibana/blob/d06ee13ab83baba86a36ffd69fe6277f845a034c/src/core\_plugins/kibana/common/field\_formats/types/url.js
> 
> Thanks!

> <https://github.com/elastic/kibana/issues/102362>
>
> URL field formatter has more enhancement requests than all other formatters comb…ined. This meta issue groups them as this likely better to be looked at a higher level: 
> 
> Possible shorter term:
> 
> \* Better Kibana links integration https://github.com/elastic/kibana/issues/53763 \*\*(can we integrate with drilldowns?)\*\*
> \* Base path / spaces issues https://github.com/elastic/kibana/issues/99171
> \* Don't trigger page reload https://github.com/elastic/kibana/issues/68493
> \* Integrate external URL allow-serivce https://github.com/elastic/kibana/issues/86058
> \* Then extend allowed protocols: https://github.com/elastic/kibana/issues/16983 
> \* Additional variables \*\*(can we integrate with URL drilldown context?)\*\*, \*\*can we reuse URL drilldown editor\*\*?
> \* https://github.com/elastic/kibana/issues/77087
> \* Passing time context https://github.com/elastic/kibana/issues/23263
> 
> Longer-term:
> 
> \* Use multiple fields to build the URL? https://github.com/elastic/kibana/issues/11448 
> \* Preview images/URLs from field formatter https://github.com/elastic/kibana/issues/57328
> 
> 
> Tech-debt/testing:
> 
> \* Increase functional test coverage 
> \* No test in Discover - https://github.com/elastic/kibana/issues/55557 
> \* Skipped test in Dashboard https://github.com/elastic/kibana/issues/79463

> <https://github.com/elastic/kibana/issues/86058>
>
> Url field formatter should use the \[\`ExternalUrl\`\](https://github.com/elastic/ki…bana/issues/69411) allow list service.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 4, 2023, 11:40am UTC](https://discuss.elastic.co/t/open-a-non-http-link/320674/3 "2023-01-04T11:40:18Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
