Created
November 28, 2018 11:02
-
-
Save rezamt/4821e86ddabc0681e90fa4562e19dedc to your computer and use it in GitHub Desktop.
Stack Driver Agent Installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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