Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logs not shipping to papertrail #13

Open
drnic opened this issue Nov 19, 2015 · 1 comment
Open

Logs not shipping to papertrail #13

drnic opened this issue Nov 19, 2015 · 1 comment

Comments

@drnic
Copy link

drnic commented Nov 19, 2015

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?

@dpb587
Copy link
Contributor

dpb587 commented Nov 22, 2015

While logsearch-shipper is focused on logsearch, the untested theory has
been it should be compatible with similar hosted services. The pastes you
provided look sane. Did /var/vcap/sys/log/logsearch-shipper/logs.nxlog.log
have any further details, such as connectivity issues?

On Friday, November 20, 2015, Dr Nic Williams [email protected]
wrote:

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:

Host logs.papertrailapp.com Port 54321 Module om_tcp Exec to_syslog_ietf(); OutputType LineBased

Any suggestions for getting the logs flowing?


Reply to this email directly or view it on GitHub
#13.

Danny Berger
http://dpb587.me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants