# Pattern for the following

**URL:** <https://discuss.elastic.co/t/pattern-for-the-following/185103>\
**Category:** Logstash\
**Created:** [June 11, 2019, 6:39am UTC](https://discuss.elastic.co/t/pattern-for-the-following/185103 "2019-06-11T06:39:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AtulxD123](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@AtulxD123](https://discuss.elastic.co/u/AtulxD123)\
**Post date:** [June 11, 2019, 6:39am UTC](https://discuss.elastic.co/t/pattern-for-the-following/185103/1 "2019-06-11T06:39:08Z")

</div>

Please help me with grokparse for the following :

# User@Host: db\_usr\_retaility[db\_usr\_retaility]

currently i'm using

match =\> { "message" =\> ["^# User@Host: %{USER:user}[[^]+]]"]}

but it says no match found in grok debugger

---

<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:** [July 9, 2019, 6:39am UTC](https://discuss.elastic.co/t/pattern-for-the-following/185103/2 "2019-07-09T06:39:08Z")

</div>

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