Skip to content

Instantly share code, notes, and snippets.

@teddyking
Last active August 29, 2015 14:08
Show Gist options
  • Save teddyking/83da7530664d047e5a8d to your computer and use it in GitHub Desktop.
Save teddyking/83da7530664d047e5a8d to your computer and use it in GitHub Desktop.
Cloud Foundry Manifest Snippet - syslog
# syslog_aggregator manifest config
jobs:
# NB: This job is optional. There's no need to include this job if
# you already have a syslog endpoint to send your logs to.
- instances: 1
name: syslog_aggregator_server
networks:
- name: cf1
static_ips:
- 10.244.0.18
persistent_disk: 1024
properties:
networks:
apps: cf1
management: cf1
release: cf
resource_pool: medium_z1
template: syslog_aggregator
properties:
syslog_aggregator:
address: 10.244.0.18 # a syslog server's IP address
port: 5514
transport: tcp
all: true # instructs all jobs to start forwarding their logs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment