# Save Metrics as JSON on NFS share, import on other server w/o logstash

**URL:** <https://discuss.elastic.co/t/save-metrics-as-json-on-nfs-share-import-on-other-server-w-o-logstash/95923>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [August 4, 2017, 4:36pm UTC](https://discuss.elastic.co/t/save-metrics-as-json-on-nfs-share-import-on-other-server-w-o-logstash/95923 "2017-08-04T16:36:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pat7](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pat7/32/81768_2.png) [@pat7](https://discuss.elastic.co/u/pat7)\
**Post date:** [August 4, 2017, 4:36pm UTC](https://discuss.elastic.co/t/save-metrics-as-json-on-nfs-share-import-on-other-server-w-o-logstash/95923/1 "2017-08-04T16:36:17Z")

</div>

Hi, unfortunately i don't have a direct access (no fw access possible) to my target server i want collect metrcis from with metricbeat. The idea is now to export the metrics to a json file instead of pushing it directly to es. Is it possible to save the json output on a nfs share (both machines have access to) and push the json regulary to es without logstash (via filebeat or via curl direct to es)?

---

<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:** [August 7, 2017, 1:25pm UTC](https://discuss.elastic.co/t/save-metrics-as-json-on-nfs-share-import-on-other-server-w-o-logstash/95923/2 "2017-08-07T13:25:56Z")

</div>

Using the file output and filebeat on another machine for pushing the data to ES/LS is possible. But we don't really recommend the use of network shares, as these contribute to a number of problems/failures when processing data via files (e.g. network down/slow, buffers being send out-of-order -\> half-empty files...)

---

<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:** [September 4, 2017, 1:26pm UTC](https://discuss.elastic.co/t/save-metrics-as-json-on-nfs-share-import-on-other-server-w-o-logstash/95923/3 "2017-09-04T13:26:06Z")

</div>

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