Skip to content

Instantly share code, notes, and snippets.

@d-smith
Created February 4, 2016 23:05
Show Gist options
  • Select an option

  • Save d-smith/fa3b71c89921d33e2492 to your computer and use it in GitHub Desktop.

Select an option

Save d-smith/fa3b71c89921d33e2492 to your computer and use it in GitHub Desktop.
Sumo Collector Installation
sudo su root
Then:
1 export http_proxy=http://http.proxy.fmr.com:8000
2 export https_proxy=$http_proxy
3 wget "https://collectors.us2.sumologic.com/rest/download/linux/64" -O SumoCollector.sh && chmod +x SumoCollector.sh && ./SumoCollector.sh -q -Vsumo.token_and_url=xxx= -Vproxy.host=http.proxy.fmr.com -Vproxy.port=8000
^D
Then:
2 sudo mkdir /var/applogs
10 sudo chmod g+w /var/applogs
13 chgrp vagrant /var/applogs
15 cd /var/applogs/
16 vi foo.log
After the creation of a foo.log, you can add the path expression /var/applogs/*.log and have the wizard page pick up
the collector.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment