# Unable to Parse URL

**URL:** <https://discuss.elastic.co/t/unable-to-parse-url/150917>\
**Category:** Kibana\
**Created:** [October 3, 2018, 3:40pm UTC](https://discuss.elastic.co/t/unable-to-parse-url/150917 "2018-10-03T15:40:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![brandonstephens922](https://avatars.discourse-cdn.com/v4/letter/b/a4c791/32.png) [@brandonstephens922](https://discuss.elastic.co/u/brandonstephens922)\
**Post date:** [October 3, 2018, 3:40pm UTC](https://discuss.elastic.co/t/unable-to-parse-url/150917/1 "2018-10-03T15:40:52Z")

</div>

All,

Periodically I get the error "Unable to Parse URL" in Kibana when trying to pivot. I can't seem to find a rhyme or reason for this. It seems random as you would think the same pivot would experience this every time but that isn't the case. I have seem some mention on git that it is browser related but I have the same issue in Chrome or Firefox.

![image](https://us1.discourse-cdn.com/elastic/original/3X/9/8/98fcdcac5e57fa6af9ff027eb4cb8a146a74f321.png)

Any thoughts?

BS

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 4, 2018, 11:01am UTC](https://discuss.elastic.co/t/unable-to-parse-url/150917/2 "2018-10-04T11:01:42Z")

</div>

Can you check the URL length when you get these errors?

---

<div class="post-metadata">

**Author:** ![brandonstephens922](https://avatars.discourse-cdn.com/v4/letter/b/a4c791/32.png) [@brandonstephens922](https://discuss.elastic.co/u/brandonstephens922)\
**Post date:** [October 22, 2018, 3:23pm UTC](https://discuss.elastic.co/t/unable-to-parse-url/150917/3 "2018-10-22T15:23:34Z")

</div>

I will take note of that the next time it pops up. Is there a hard length that it will not process past?

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 22, 2018, 3:38pm UTC](https://discuss.elastic.co/t/unable-to-parse-url/150917/4 "2018-10-22T15:38:58Z")

</div>

It depends on the browser, but usually dashboard can increase the URL length a lot by saving the state in the URL. The workaround/fix for this is to enable `state:storeInSessionStorage` in the Advanced Settings.

---

<div class="post-metadata">

**Author:** ![brandonstephens922](https://avatars.discourse-cdn.com/v4/letter/b/a4c791/32.png) [@brandonstephens922](https://discuss.elastic.co/u/brandonstephens922)\
**Post date:** [October 24, 2018, 2:05pm UTC](https://discuss.elastic.co/t/unable-to-parse-url/150917/5 "2018-10-24T14:05:34Z")

</div>

Is there a preferred browser that handles these things better? I made the requested change and just got the error. Here is the URL with an obfuscated hostname. The URL seems extremely long, is there something I can do shorten that?

https://!!!!!!!!mgt.mdc.musc.edu/app/kibana#/dashboard/68563ed0-34bf-11e7-9b32-bb903919ead9?\_g=(refreshInterval:(display:Off,pause:!f,value:0),time:(from:now-24h,mode:quick,to:now))&\_a=(description:'',filters:!(),fullScreenMode:!f,options:(darkTheme:!t,useMargins:!t),panels:!((gridData:(h:48,i:'1',w:8,x:0,y:0),id:b3b449d0-3429-11e7-9d52-4f090484f59e,panelIndex:'1',type:visualization,version:'6.3.2'),(embeddableConfig:(vis:(params:(sort:(columnIndex:!n,direction:!n)))),gridData:(h:24,i:'2',w:20,x:8,y:11),id:'60925490-34bf-11e7-9b32-bb903919ead9',panelIndex:'2',type:visualization,version:'6.3.2'),(embeddableConfig:(vis:(params:(sort:(columnIndex:!n,direction:!n)))),gridData:(h:24,i:'4',w:32,x:16,y:107),id:e8e3b8a0-34c1-11e7-917c-af7a9d11771a,panelIndex:'4',type:visualization,version:'6.3.2'),(embeddableConfig:(vis:(params:(sort:(columnIndex:!n,direction:!n)))),gridData:(h:24,i:'5',w:16,x:0,y:131),id:ae1f1fb0-3648-11e7-bf60-314364dd1cde,panelIndex:'5',type:visualization,version:'6.3.2'),(embeddableConfig:(vis:(params:(sort:(columnIndex:!n,direction:!n)))),gridData:(h:24,i:'6',w:16,x:16,y:131),id:d0f56da0-3648-11e7-bf60-314364dd1cde,panelIndex:'6',type:visualization,version:'6.3.2'),(embeddableConfig:(vis:(params:(sort:(columnIndex:!n,direction:!n)))),gridData:(h:24,i:'8',w:24,x:0,y:155),id:'8ba31820-34c6-11e7-8360-0b86c90983fd',panelIndex:'8',type:visualization,version:'6.3.2'),(embeddableConfig:(vis:(params:(sort:(columnIndex:!n,direction:!n)))),gridData:(h:24,i:'9',w:24,x:24,y:155),id:'7153e7f0-34c7-11e7-8360-0b86c90983fd',panelIndex:'9',type:visualization,version:'6.3.2'),(embeddableConfig:(vis:(params:(sort:(columnIndex:!n,direction:!n)))),gridData:(h:24,i:'13',w:20,x:8,y:35),id:c7eed4c0-3649-11e7-bf60-314364dd1cde,panelIndex:'13',type:visualization,version:'6.3.2'),(embeddableConfig:(vis:(legendOpen:!t)),gridData:(h:24,i:'16',w:16,x:0,y:107),id:'45a652b0-34c1-11e7-917c-af7a9d11771a',panelIndex:'16',type:visualization,version:'6.3.2'),(columns:!(source\_ip,source\_port,destination\_ip,destination\_port,uid,\_id),gridData:(h:24,i:'19',w:48,x:0,y:179),id:aa05e920-3433-11e7-8867-29a39c0f86b2,panelIndex:'19',sort:!('@timestamp',desc),type:search,version:'6.3.2'),(gridData:(h:24,i:'21',w:16,x:32,y:131),id:'3f4abb40-6e0a-11e7-84cc-b363f104b3c7',panelIndex:'21',type:visualization,version:'6.3.2'),(embeddableConfig:(vis:(params:(sort:(columnIndex:!n,direction:!n)))),gridData:(h:24,i:'22',w:24,x:0,y:83),id:'53ac63e0-365b-11e7-8bd0-1db2c55fb7a1',panelIndex:'22',type:visualization,version:'6.3.2'),(embeddableConfig:(vis:(params:(sort:(columnIndex:!n,direction:!n)))),gridData:(h:24,i:'23',w:24,x:24,y:83),id:'6ef90c30-34c0-11e7-9b32-bb903919ead9',panelIndex:'23',type:visualization,version:'6.3.2'),(embeddableConfig:(vis:(params:(sort:(columnIndex:!n,direction:!n)))),gridData:(h:24,i:'24',w:20,x:28,y:35),id:'07fdf9e0-39ad-11e7-8472-0151e5b2b475',panelIndex:'24',type:visualization,version:'6.3.2'),(gridData:(h:24,i:'26',w:20,x:28,y:11),id:'9c979ea0-345b-11e7-8867-29a39c0f86b2',panelIndex:'26',type:visualization,version:'6.3.2'),(gridData:(h:24,i:'27',w:24,x:0,y:59),id:'73806f30-4948-11e8-9576-313be7c6b44b',panelIndex:'27',type:visualization,version:'6.3.2'),(gridData:(h:24,i:'28',w:24,x:24,y:59),id:c0de57b0-4948-11e8-9576-313be7c6b44b,panelIndex:'28',type:visualization,version:'6.3.2'),(embeddableConfig:(),gridData:(h:11,i:'29',w:40,x:8,y:0),id:a04e6f10-d086-11e8-9819-b7d7f4f3f7a6,panelIndex:'29',type:visualization,version:'6.3.2')),query:(language:lucene,query:%22198.71.248.67%22),timeRestore:!f,title:Indicator,viewMode:view)

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 24, 2018, 2:43pm UTC](https://discuss.elastic.co/t/unable-to-parse-url/150917/6 "2018-10-24T14:43:16Z")

</div>

Enable the state:storeinSessionStorage setting in the Advanced settings. That will make it shorter.

---

<div class="post-metadata">

**Author:** ![brandonstephens922](https://avatars.discourse-cdn.com/v4/letter/b/a4c791/32.png) [@brandonstephens922](https://discuss.elastic.co/u/brandonstephens922)\
**Post date:** [October 24, 2018, 3:05pm UTC](https://discuss.elastic.co/t/unable-to-parse-url/150917/7 "2018-10-24T15:05:20Z")

</div>

This came in after that was enabled. Is there any sort of service restart that needs to take place after that change? Have you seen certain browsers handle this better than others?

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 24, 2018, 3:25pm UTC](https://discuss.elastic.co/t/unable-to-parse-url/150917/8 "2018-10-24T15:25:24Z")

</div>

Chrome usually handles long URLs better. if you enabled that an URL should look something like this:  
[https://localhost:5200/app/kibana#/dashboard/New%20Dashboard?\_g=h@44136fa&\_a=h@a33122e](https://localhost:5200/app/kibana#/dashboard/New%20Dashboard?_g=h@44136fa&_a=h@a33122e)

---

<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:** [November 21, 2018, 3:36pm UTC](https://discuss.elastic.co/t/unable-to-parse-url/150917/9 "2018-11-21T15:36:22Z")

</div>

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