# Need to create a grok pattern

**URL:** <https://discuss.elastic.co/t/need-to-create-a-grok-pattern/302123>\
**Category:** Logstash\
**Created:** [April 11, 2022, 3:16pm UTC](https://discuss.elastic.co/t/need-to-create-a-grok-pattern/302123 "2022-04-11T15:16:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amsmzn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amsmzn/32/104115_2.png) [@amsmzn](https://discuss.elastic.co/u/amsmzn)\
**Post date:** [April 11, 2022, 3:16pm UTC](https://discuss.elastic.co/t/need-to-create-a-grok-pattern/302123/1 "2022-04-11T15:16:29Z")

</div>

Hi there,

I am new to logstash. I am trying to create a grok pattern for the below line, which would create a field in the Elasticsearch

mvn clean deploy -P build -gs ./sd\_tools/config/maven/settings.xml -s ./sd\_tools/config/maven/settings.xml -DskipTests -f pom.xml -Dhttps.protocols=TLSv1.2

can anybody please suggest?

---

<div class="post-metadata">

**Author:** ![Cad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cad/32/86661_2.png) [@Cad](https://discuss.elastic.co/u/Cad)\
**Post date:** [April 12, 2022, 1:18pm UTC](https://discuss.elastic.co/t/need-to-create-a-grok-pattern/302123/2 "2022-04-12T13:18:42Z")

</div>

Hi,

> [@amsmzn](#):
>
> create a field in the Elasticsearch

So you just want to put the full line in a field ?  
The command is surrounded by unnecessary information ?  
Can you show us a full input who contains the command to have more context please ?

Cad

---

<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:** [May 10, 2022, 1:19pm UTC](https://discuss.elastic.co/t/need-to-create-a-grok-pattern/302123/3 "2022-05-10T13:19:11Z")

</div>

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