# Logstash Automation

**URL:** https://discuss.elastic.co/t/logstash-automation/296150
**Category:** Logstash
**Created:** [February 3, 2022, 6:43am UTC](https://discuss.elastic.co/t/logstash-automation/296150 "2022-02-03T06:43:55Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![harsh19](https://avatars.discourse-cdn.com/v4/letter/h/ed655f/32.png) [@harsh19](https://discuss.elastic.co/u/harsh19)
#### Post date: [February 3, 2022, 6:43am UTC](https://discuss.elastic.co/t/logstash-automation/296150/1 "2022-02-03T06:43:55Z")

</div>

there is a one Folder name logs in that Folder there is multiple json file like 1.json, 2.json, etc

i want to pars logs in Elasticsearch with logstash

so Question is that how to configure that all file in one conf file in logstash ?????

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [February 3, 2022, 6:45am UTC](https://discuss.elastic.co/t/logstash-automation/296150/2 "2022-02-03T06:45:56Z")

</div>

You can use wildcards in a path, so `/path/to/file/*.json` will read all `.json` files in that path.

---

<div class="post-metadata">

### Author: ![harsh19](https://avatars.discourse-cdn.com/v4/letter/h/ed655f/32.png) [@harsh19](https://discuss.elastic.co/u/harsh19)
#### Post date: [February 3, 2022, 7:26am UTC](https://discuss.elastic.co/t/logstash-automation/296150/3 "2022-02-03T07:26:57Z")

</div>

Thank you @warkolm

now it's damn working.

---

<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: [March 3, 2022, 7:27am UTC](https://discuss.elastic.co/t/logstash-automation/296150/4 "2022-03-03T07:27:37Z")

</div>

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