# File Mirroring via FileBeat or Logstash

**URL:** https://discuss.elastic.co/t/file-mirroring-via-filebeat-or-logstash/315973
**Category:** Beats
**Tags:** filebeat
**Created:** [October 6, 2022, 12:50pm UTC](https://discuss.elastic.co/t/file-mirroring-via-filebeat-or-logstash/315973 "2022-10-06T12:50:57Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![shocko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shocko/32/104402_2.png) [@shocko](https://discuss.elastic.co/u/shocko)
#### Post date: [October 7, 2022, 10:33pm UTC](https://discuss.elastic.co/t/file-mirroring-via-filebeat-or-logstash/315973/3 "2022-10-07T22:33:14Z")

</div>

I don't think the [path/filename fields](https://www.elastic.co/guide/en/beats/filebeat/current/file-output.html) in filebeat support any kind of dynamic variables etc. I'll see if I can figure out how to do this in logstash.

---

_[View the full topic](https://discuss.elastic.co/t/file-mirroring-via-filebeat-or-logstash/315973)._
