# Remove Links codes or short links, in a TagCloud

**URL:** <https://discuss.elastic.co/t/remove-links-codes-or-short-links-in-a-tagcloud/207148>\
**Category:** Kibana\
**Created:** [November 8, 2019, 4:43pm UTC](https://discuss.elastic.co/t/remove-links-codes-or-short-links-in-a-tagcloud/207148 "2019-11-08T16:43:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![enyerqb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/enyerqb/32/57403_2.png) [@enyerqb](https://discuss.elastic.co/u/enyerqb)\
**Post date:** [November 8, 2019, 4:43pm UTC](https://discuss.elastic.co/t/remove-links-codes-or-short-links-in-a-tagcloud/207148/1 "2019-11-08T16:43:07Z")

</div>

Hi guys, I hope you can help me in this awesome community, I have trouble visualizing a Wordcloud, I ingested the data and is indexed however I found short links pattern in the text that has 10 characters long in the TagCloud Visualization, what is the best way to avoid this happen?  
I'm pointing my objective as a way to add these patterns as stopwords, I don't want these short links codes in my Tagcloud, this matter is about how the mapping is constructed?  
I'm looking for a way to prevent this in the future  
I expect a way to automate this with regex somehow I think it parts from there  
I use Python to ingest data  
data are text from Tweets.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/c/7c5558929d6c09e41a2e4c298632fed698ea7a45.png)

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [November 9, 2019, 5:03pm UTC](https://discuss.elastic.co/t/remove-links-codes-or-short-links-in-a-tagcloud/207148/2 "2019-11-09T17:03:59Z")

</div>

Is there data which you can use in those containing the ID's? If not, and the only thing to go off of is that it's 10 characters long - you could use a scripted field to return 0 or 1 if it's 10 characters to easily search based on that.

---

<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:** [December 7, 2019, 5:04pm UTC](https://discuss.elastic.co/t/remove-links-codes-or-short-links-in-a-tagcloud/207148/3 "2019-12-07T17:04:00Z")

</div>

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