Skip to content

Logs not shipping to papertrail #13

@drnic

Description

@drnic

I'm trying to use logsearch-shipper to ship my logs to https://papertrailapp.com

I have the following configuration in my manifest.

properties:
  logsearch:
    logs:
      enabled: true
      server: logs.papertrailapp.com:54321
    metrics:
      enabled: false

On the job vms the processes are running:

 9119 ?        S<     0:00 /bin/bash /var/vcap/jobs/logsearch-shipper/bin/logs.control start
 9128 ?        S<l    0:00 /var/vcap/packages/logsearch-nxlog/bin/nxlog -f -c nxlog.conf
 9154 ?        S<l    0:00 /var/vcap/bosh/bin/monit -c /var/vcap/data/logsearch-shipper/metrics/monit.conf
 9170 ?        S<sl   0:00 /var/vcap/packages/logsearch-collectd/sbin/collectd -C /var/vcap/jobs/logsearch-shipper/etc/metrics-collectd.conf
 9182 ?        S<     0:00 /bin/bash /var/vcap/jobs/logsearch-shipper/bin/metrics-collectd.graphite-mock
 9183 ?        S<     0:00 /bin/nc -l 127.0.0.1 2003
 9184 ?        S<     0:00 grep -v  nan
 9185 ?        S<     0:00 sed -E -e s/^collectd\.localhost./host./ -e s/([^\w])\-/\1_/g
 9195 ?        S<l    0:00 /var/vcap/bosh/bin/ruby /var/vcap/jobs/logsearch-shipper/logsearch/metric-collector/monit/collector

In the generated log file I can see the output info:

<Output out>
  Host logs.papertrailapp.com
  Port 54321
  Module om_tcp
  Exec to_syslog_ietf();
  OutputType LineBased
</Output>

Any suggestions for getting the logs flowing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions