# How to forward logs from specific file to Logstash

**URL:** <https://discuss.elastic.co/t/how-to-forward-logs-from-specific-file-to-logstash/303922>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 4, 2022, 9:24am UTC](https://discuss.elastic.co/t/how-to-forward-logs-from-specific-file-to-logstash/303922 "2022-05-04T09:24:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirankatkar](https://avatars.discourse-cdn.com/v4/letter/k/bc79bd/32.png) [@kirankatkar](https://discuss.elastic.co/u/kirankatkar)\
**Post date:** [May 4, 2022, 9:24am UTC](https://discuss.elastic.co/t/how-to-forward-logs-from-specific-file-to-logstash/303922/1 "2022-05-04T09:24:06Z")

</div>

Hello All,

I want help in below scenario:  
We want to integrate one SAAS based application with ELK. For that, using API calls we collected logs and dump into one \*.json file. (on Ubuntu server).

Now we want to forward those logs (which is inside of \*.json) to Logstash.  
Can someone please me, which beat agent needs to use with respective .yml configurations.

---

<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:** [June 1, 2022, 11:24am UTC](https://discuss.elastic.co/t/how-to-forward-logs-from-specific-file-to-logstash/303922/2 "2022-06-01T11:24:29Z")

</div>

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