# Logstash agent and rsync

**URL:** https://discuss.elastic.co/t/logstash-agent-and-rsync/22248
**Category:** Elasticsearch
**Created:** [February 18, 2015, 8:37pm UTC](https://discuss.elastic.co/t/logstash-agent-and-rsync/22248 "2015-02-18T20:37:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Greg\_Diamond](https://avatars.discourse-cdn.com/v4/letter/g/74df32/32.png) [@Greg\_Diamond](https://discuss.elastic.co/u/Greg_Diamond)
#### Post date: [February 18, 2015, 8:37pm UTC](https://discuss.elastic.co/t/logstash-agent-and-rsync/22248/1 "2015-02-18T20:37:02Z")

</div>

I am trying to use logstash to index a set of log files from our  
webservers. The log files that I can access are stored on a network  
attached storage system which are copied over from the webservers using  
rsync.

Logstash agent ends up throwing this error:

{:timestamp=\>"2015-02-18T13:10:45.190000-0500", :message=\>"A plugin had an  
unrecoverable error. Will restart this plugin.\n Plugin:  
\<LogStash::Inputs::File  
path=\>["/nas/logs/04.log", "/nas/logs/05.log"],  
start\_position=\>"end", sincedb\_path=\>"/nas/logs/sincedb/since"\>\n  
Error: Unknown error - Stale NFS file handle", :level=\>:error}

We have many servers each with their own log, so was hoping not to have to  
install logstash on every webserver individually to follow the live logs.

Is there any solution getting logstash agent and rsync working together?

Thanks

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/763b68a2-5c41-47bf-b0d4-ff60d60730c1%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/763b68a2-5c41-47bf-b0d4-ff60d60730c1%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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: [July 6, 2017, 12:31am UTC](https://discuss.elastic.co/t/logstash-agent-and-rsync/22248/2 "2017-07-06T00:31:47Z")

</div>


