# Setting up logstash on a server

**URL:** <https://discuss.elastic.co/t/setting-up-logstash-on-a-server/188164>\
**Category:** Logstash\
**Created:** [June 30, 2019, 1:51am UTC](https://discuss.elastic.co/t/setting-up-logstash-on-a-server/188164 "2019-06-30T01:51:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhader](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@rhader](https://discuss.elastic.co/u/rhader)\
**Post date:** [June 30, 2019, 1:51am UTC](https://discuss.elastic.co/t/setting-up-logstash-on-a-server/188164/1 "2019-06-30T01:51:32Z")

</div>

I am attempting to setup logstash on a server so it can receive logs from aws cloudwath anytime of the day.

Every single example I have seen though, is with users simply running logstash locally and initiating the process locally. That solution will not work for me.

Currently I am using functionbeat to monitor my cloudwatch logs; once a new log lands in a log group functionbeat is watching, it will send that log to my elastic cloud.

I need functionbeat to send my logs to logstach, then for logstach to enrich the logs then send the logs to my elastic cloud. I have no idea how to set up logstach in this manner though. ANY help is appreciated!

---

<div class="post-metadata">

**Author:** ![yaauie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaauie/32/23363_2.png) [@yaauie](https://discuss.elastic.co/u/yaauie)\
**Post date:** [July 1, 2019, 8:02am UTC](https://discuss.elastic.co/t/setting-up-logstash-on-a-server/188164/2 "2019-07-01T08:02:05Z")

</div>

See the docs about [Running Logstash as a Service](https://www.elastic.co/guide/en/logstash/current/running-logstash.html).

---

<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 29, 2019, 8:02am UTC](https://discuss.elastic.co/t/setting-up-logstash-on-a-server/188164/3 "2019-07-29T08:02:07Z")

</div>

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