Skip to content

Instantly share code, notes, and snippets.

@rezamt
Created November 28, 2018 11:02
Show Gist options
  • Save rezamt/4821e86ddabc0681e90fa4562e19dedc to your computer and use it in GitHub Desktop.
Save rezamt/4821e86ddabc0681e90fa4562e19dedc to your computer and use it in GitHub Desktop.
Stack Driver Agent Installation
# To install the Stackdriver monitoring agent:
$ curl -sSO https://dl.google.com/cloudagents/install-monitoring-agent.sh
$ sudo bash install-monitoring-agent.sh
# To install the Stackdriver logging agent:
$ curl -sSO https://dl.google.com/cloudagents/install-logging-agent.sh
$ sudo bash install-logging-agent.sh
@rezamt
Copy link
Author

rezamt commented Nov 28, 2018

After installation

The agent monitoring logs:

You can monitor the monitoring agent's logfile at:
tail -f /var/log/syslog

You can monitor the logging agent's logfile at:
tail -f /var/log/google-fluentd/google-fluentd.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment