# Shipping PCF application logs to Elastic Stack

**URL:** <https://discuss.elastic.co/t/shipping-pcf-application-logs-to-elastic-stack/188085>\
**Category:** Elasticsearch\
**Created:** [June 28, 2019, 4:02pm UTC](https://discuss.elastic.co/t/shipping-pcf-application-logs-to-elastic-stack/188085 "2019-06-28T16:02:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhsh64](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mhsh64](https://discuss.elastic.co/u/mhsh64)\
**Post date:** [June 28, 2019, 4:02pm UTC](https://discuss.elastic.co/t/shipping-pcf-application-logs-to-elastic-stack/188085/1 "2019-06-28T16:02:49Z")

</div>

Hello all,

Have you ever configured PCF (Cloud Foundry) to send application logs to Logstash?

I read an article which we can create a syslog service and bind it to the application on PCF, like bellow:  
cf cups log-drain -l syslog://:5000  
cf bind-service nv00-devintegration-ciswriteservice log-drain

However, I am thinking if we have three Logstash node, how can we configure PCF to have all three Logstash server address to send to all of them, if any of the Logstahs server is not responding... Any idea please?

In addition, rather than syslog services, which we can configure, can we install any Beats on PCF applications?

Please share with any document if you have for PCF-Elastic stack integration  
Thanks

---

<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 26, 2019, 4:02pm UTC](https://discuss.elastic.co/t/shipping-pcf-application-logs-to-elastic-stack/188085/2 "2019-07-26T16:02:58Z")

</div>

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