# Parsing datapower syslog using GROK for latency calculation for given URI

**URL:** <https://discuss.elastic.co/t/parsing-datapower-syslog-using-grok-for-latency-calculation-for-given-uri/123118>\
**Category:** Logstash\
**Created:** [March 8, 2018, 5:02pm UTC](https://discuss.elastic.co/t/parsing-datapower-syslog-using-grok-for-latency-calculation-for-given-uri/123118 "2018-03-08T17:02:22Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [March 12, 2018, 7:20pm UTC](https://discuss.elastic.co/t/parsing-datapower-syslog-using-grok-for-latency-calculation-for-given-uri/123118/12 "2018-03-12T19:20:25Z")

</div>

> [@mguttula](#):
>
> How do I get rid of "]" from URL?

Add a trailing %{} to the dissect mapping as shown [here](https://discuss.elastic.co/t/problem-using-trailing-delimiter-in-dissect/119557/2)

---

_[View the full topic](https://discuss.elastic.co/t/parsing-datapower-syslog-using-grok-for-latency-calculation-for-given-uri/123118)._
