# Fetching substring from a string in kibana

**URL:** <https://discuss.elastic.co/t/fetching-substring-from-a-string-in-kibana/338203>\
**Category:** Kibana\
**Created:** [July 12, 2023, 10:33am UTC](https://discuss.elastic.co/t/fetching-substring-from-a-string-in-kibana/338203 "2023-07-12T10:33:34Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [July 12, 2023, 9:33pm UTC](https://discuss.elastic.co/t/fetching-substring-from-a-string-in-kibana/338203/3 "2023-07-12T21:33:50Z")

</div>

It's common way to use as tsullivan suggested and will work.

Also, it's not forbidden to use parsers:

```auto
   dissect { 
     mapping => { "url" => "/%{urldiss}/%{}" }
   }
 
   grok { match => { "message" => ["^\/%{DATA:urlgrok}\/"] } }

```

---

_[View the full topic](https://discuss.elastic.co/t/fetching-substring-from-a-string-in-kibana/338203)._
