# Document other than log files

**URL:** https://discuss.elastic.co/t/document-other-than-log-files/165234
**Category:** Beats
**Tags:** filebeat
**Created:** [January 22, 2019, 1:00pm UTC](https://discuss.elastic.co/t/document-other-than-log-files/165234 "2019-01-22T13:00:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Gokulprasath\_Narayan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gokulprasath_narayan/32/40074_2.png) [@Gokulprasath\_Narayan](https://discuss.elastic.co/u/Gokulprasath_Narayan)
#### Post date: [January 22, 2019, 1:00pm UTC](https://discuss.elastic.co/t/document-other-than-log-files/165234/1 "2019-01-22T13:00:48Z")

</div>

I want to push all the files having different format(doc,csv..) in a directory to elastic. My final ouptut should be the name of the file having the search text. can anyone help.

---

<div class="post-metadata">

### Author: ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)
#### Post date: [January 22, 2019, 3:58pm UTC](https://discuss.elastic.co/t/document-other-than-log-files/165234/2 "2019-01-22T15:58:15Z")

</div>

Filebeat does not parse contents, but splits files by line. CSV file could for example be published, but you'd still need to parse it in Logstash or via Ingest Node in Elasticsearch.

---

<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: [February 19, 2019, 3:58pm UTC](https://discuss.elastic.co/t/document-other-than-log-files/165234/3 "2019-02-19T15:58:18Z")

</div>

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