# Logs parsing

**URL:** https://discuss.elastic.co/t/logs-parsing/106012
**Category:** Logstash
**Created:** [November 1, 2017, 9:56am UTC](https://discuss.elastic.co/t/logs-parsing/106012 "2017-11-01T09:56:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![paul1243](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@paul1243](https://discuss.elastic.co/u/paul1243)
#### Post date: [November 1, 2017, 9:56am UTC](https://discuss.elastic.co/t/logs-parsing/106012/1 "2017-11-01T09:56:35Z")

</div>

Hi -  
Am receiving the Build logs from the Jenkins using the Logstash plugin, and directly publishing the data to the Elastic Search.  
How would I parse the out the message and pull out the required data and map it as (key-value). Could someone please let me know. Thanks !

---

<div class="post-metadata">

### Author: ![TheNmaptomyHeartBeat](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@TheNmaptomyHeartBeat](https://discuss.elastic.co/u/TheNmaptomyHeartBeat)
#### Post date: [November 1, 2017, 11:09am UTC](https://discuss.elastic.co/t/logs-parsing/106012/2 "2017-11-01T11:09:09Z")

</div>

Might need to use a Grok filter.

[https://www.elastic.co/guide/en/logstash/current/plugins-filters-grok.html](https://www.elastic.co/guide/en/logstash/current/plugins-filters-grok.html)

It allows you to extract data from a log into fields.  
use the Grok Debugger to test your filters.

[https://grokdebug.herokuapp.com/](https://grokdebug.herokuapp.com/)

---

<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: [November 29, 2017, 11:09am UTC](https://discuss.elastic.co/t/logs-parsing/106012/3 "2017-11-29T11:09:26Z")

</div>

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