# Older version Link in machine learning mail alerts doesnt work with 7.12

**URL:** <https://discuss.elastic.co/t/older-version-link-in-machine-learning-mail-alerts-doesnt-work-with-7-12/271918>\
**Category:** Kibana\
**Created:** [May 2, 2021, 10:35pm UTC](https://discuss.elastic.co/t/older-version-link-in-machine-learning-mail-alerts-doesnt-work-with-7-12/271918 "2021-05-02T22:35:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ElasticLiver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticliver/32/64869_2.png) [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Post date:** [May 2, 2021, 10:35pm UTC](https://discuss.elastic.co/t/older-version-link-in-machine-learning-mail-alerts-doesnt-work-with-7-12/271918/1 "2021-05-02T22:35:59Z")

</div>

Hi Im tring to send ML alert mail with the link to the anomaly explorer, im using the older version of the link (7.5) but it doesnt seems to work in the newer version 7.12

```auto
    <a href="<es_url>/app/ml#/explorer/?_g=(ml:(jobIds:!('{{ctx.payload.aggregations.bucket_results.top_bucket_hits.hits.hits.0._source.job_id}}')),time:(from:'{{ctx.payload.aggregations.bucket_results.top_bucket_hits.hits.hits.0.fields.start.0}}',mode:absolute,to:'{{ctx.payload.aggregations.bucket_results.top_bucket_hits.hits.hits.0.fields.end.0}}'))&_a=(explorer:(mlExplorerSwimlane:(selectedLanes:!(Overall),selectedTimes:{{ctx.payload.aggregations.bucket_results.top_bucket_hits.hits.hits.0.fields.timestamp_epoch.0}},selectedType:overall)),query:(query_string:(analyze_wildcard:!t,query:'*')))">

```

it get to de page but gets stuck, and doesnt show anything

what I have to modify to get the link working?

its seems that they are in diferent format

older version of the url works on 7.5

```auto
https://127.0.0.1:9977/app/ml/explorer?_g=%28ml:%28jobIds:!%28%27saam_high_severity_ips_exploit_fortigate%27%29%29,refreshInterval:%28display:Off,pause:!f,value:0%29,time:%28from:%272021-04-30T12:14:00.000Z%27,mode:absolute,to:%272021-04-30T12:34:00.000Z%27%29%29&_a=%28filters:!%28%29,mlAnomaliesTable:%28intervalValue:auto,thresholdValue:0%29,mlExplorerSwimlane:%28selectedLane:Overall,selectedTime:1619785440,selectedType:overall%29,query:%28query_string:%28analyze_wildcard:!t,query:%27*%27%29%29%29

```

newer version 7.12

```auto
https://127.0.0.1:9977/app/ml/explorer?_g=%28ml%3A%28jobIds%3A%21%28ibm_high_severity_ips_exploit_fortigate%29%29%2CrefreshInterval%3A%28display%3AOff%2Cpause%3A%21t%2Cvalue%3A0%29%2Ctime%3A%28from%3A%272020-11-13T21%3A54%3A07.000Z%27%2Cto%3A%272021-05-02T21%3A25%3A00.000Z%27%29%29&_a=%28explorer%3A%28mlExplorerFilter%3A%28%29%2CmlExplorerSwimlane%3A%28viewByFieldName%3Ahost.name.keyword%2CviewByFromPage%3A1%2CviewByPerPage%3A10%29%29%2Cquery%3A%28query_string%3A%28analyze_wildcard%3A%21t%

```

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [May 3, 2021, 5:05pm UTC](https://discuss.elastic.co/t/older-version-link-in-machine-learning-mail-alerts-doesnt-work-with-7-12/271918/2 "2021-05-03T17:05:00Z")

</div>

@gmmorris another one which needs your input ..Thank you

---

<div class="post-metadata">

**Author:** ![gmmorris](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gmmorris/32/72624_2.png) [@gmmorris](https://discuss.elastic.co/u/gmmorris)\
**Post date:** [May 4, 2021, 11:30am UTC](https://discuss.elastic.co/t/older-version-link-in-machine-learning-mail-alerts-doesnt-work-with-7-12/271918/3 "2021-05-04T11:30:43Z")

</div>

Hi @ElasticLiver ,  
I'm a little confused, as I'm not sure which feature you're referring to.

Can you point me to the docs for the specific alert type you're trying to use?

Thanks

---

<div class="post-metadata">

**Author:** ![darnautov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/darnautov/32/70608_2.png) [@darnautov](https://discuss.elastic.co/u/darnautov)\
**Post date:** [May 4, 2021, 12:11pm UTC](https://discuss.elastic.co/t/older-version-link-in-machine-learning-mail-alerts-doesnt-work-with-7-12/271918/4 "2021-05-04T12:11:35Z")

</div>

Hi @ElasticLiver,

As part of [improving navigation experience](https://github.com/elastic/kibana/issues/83033) in 7.11  
we changed the URL structure. The recent Kibana version [supports an older URL structure](https://github.com/elastic/kibana/pull/86661), i.e. URLs from Kibana 7.5 work in 7.11+ but not vice versa.

I'd recommend if possible to use the relevant Kibana version.

Also, your example from the 7.5 KIbana seems like a new format actually (we used to have `#` in the older version).  
And the URL from 7.12 is malformed, I tried to decode it and received an error. Seems like the end of the URL is cut off.

---

<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:** [June 1, 2021, 12:11pm UTC](https://discuss.elastic.co/t/older-version-link-in-machine-learning-mail-alerts-doesnt-work-with-7-12/271918/5 "2021-06-01T12:11:57Z")

</div>

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