# Can i get the file\_path according to sinceDb file

**URL:** <https://discuss.elastic.co/t/can-i-get-the-file-path-according-to-sincedb-file/139495>\
**Category:** Logstash\
**Created:** [July 11, 2018, 7:33am UTC](https://discuss.elastic.co/t/can-i-get-the-file-path-according-to-sincedb-file/139495 "2018-07-11T07:33:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![springCkWyy](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@springCkWyy](https://discuss.elastic.co/u/springCkWyy)\
**Post date:** [July 11, 2018, 7:33am UTC](https://discuss.elastic.co/t/can-i-get-the-file-path-according-to-sincedb-file/139495/1 "2018-07-11T07:33:42Z")

</div>

Like FileBeat， there is a Register File to record the file path. But Now I use logstash. All I can get just .SinceDB File， according to inode, can i get the filepath for logstash harvest?

Thanks a lot!

---

<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:** [July 11, 2018, 12:23pm UTC](https://discuss.elastic.co/t/can-i-get-the-file-path-according-to-sincedb-file/139495/2 "2018-07-11T12:23:03Z")

</div>

Logstash won't tell you so you'll have to resort to the usual methods: [https://unix.stackexchange.com/questions/35292/quickly-find-which-files-belongs-to-a-specific-inode-number](https://unix.stackexchange.com/questions/35292/quickly-find-which-files-belongs-to-a-specific-inode-number)

---

<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:** [August 8, 2018, 12:23pm UTC](https://discuss.elastic.co/t/can-i-get-the-file-path-according-to-sincedb-file/139495/3 "2018-08-08T12:23:03Z")

</div>

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