# Parsing Console Logs

**URL:** <https://discuss.elastic.co/t/parsing-console-logs/48380>\
**Category:** Logstash\
**Created:** [April 26, 2016, 5:31am UTC](https://discuss.elastic.co/t/parsing-console-logs/48380 "2016-04-26T05:31:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maher](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@maher](https://discuss.elastic.co/u/maher)\
**Post date:** [April 26, 2016, 5:31am UTC](https://discuss.elastic.co/t/parsing-console-logs/48380/1 "2016-04-26T05:31:32Z")

</div>

Hi, i need to parse some logs from a console. and as it is shown next the log message is not uniforme.  
and what i need to grok is the last message for example: " --\> Wrapper Started as Console".

```
  STATUS | wrapper | main | 2016/03/06 19:30:45.531 | --> Wrapper Started as Console
  STATUS | wrapper | main | 2016/03/06 19:30:45.687 | Java Service Wrapper Standard Edition 64-bit 3.5.24
  STATUS | wrapper | main | 2016/03/06 19:30:45.687 | http://wrapper.tanukisoftware.com

```

is there a way to grok the rest of line? because the first part of the line is uniform so i can make a specific grok format.

Thank you , i really need an answer.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [April 26, 2016, 5:34am UTC](https://discuss.elastic.co/t/parsing-console-logs/48380/2 "2016-04-26T05:34:02Z")

</div>

One typically uses the GREEDYDATA pattern which matches everything.

For this particular log you might be able to use a csv filter instead of grok. Probably easier to configure and almost certainly faster.

---

<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 6, 2017, 5:00am UTC](https://discuss.elastic.co/t/parsing-console-logs/48380/3 "2017-07-06T05:00:35Z")

</div>


