# Logstash to parse TSV logs

**URL:** <https://discuss.elastic.co/t/logstash-to-parse-tsv-logs/147517>\
**Category:** Logstash\
**Created:** [September 6, 2018, 7:43am UTC](https://discuss.elastic.co/t/logstash-to-parse-tsv-logs/147517 "2018-09-06T07:43:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![apurva](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@apurva](https://discuss.elastic.co/u/apurva)\
**Post date:** [September 6, 2018, 7:43am UTC](https://discuss.elastic.co/t/logstash-to-parse-tsv-logs/147517/1 "2018-09-06T07:43:02Z")

</div>

Need to parse TSV logs via logstash 6.3.2. Need to understand possibilities for same.  
1 is to write a separate exe which converts tsv into csv, parse csv via logstash.

Can we write any program in logstash itself to read tsv directly? need real time parsing of tsv logs and hence wish to not depend on an external exe.

---

<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:** [September 17, 2018, 4:59pm UTC](https://discuss.elastic.co/t/logstash-to-parse-tsv-logs/147517/2 "2018-09-17T16:59:36Z")

</div>

Just use a csv filter and change the separator character: [https://www.elastic.co/guide/en/logstash/current/plugins-filters-csv.html#plugins-filters-csv-separator](https://www.elastic.co/guide/en/logstash/current/plugins-filters-csv.html#plugins-filters-csv-separator)

---

<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:** [October 15, 2018, 4:59pm UTC](https://discuss.elastic.co/t/logstash-to-parse-tsv-logs/147517/3 "2018-10-15T16:59:47Z")

</div>

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