Sumo Config
- Sign-In to Platform
- Go to Data Management
- Add Collection
Type Hosted Collector (Sumo Cloud)
- Now, Inside the Collection add Source as HTTP Logs and Metrics
- Copy Enpoint
-
Header - x-sumo-token: ZaVnC4dhaV3m0rN4
-
Endpoint - https://endpoint4.collection.sumologic.com/receiver/v1/http
-
- Copy Enpoint
- Most Imp, Now Go to Source -> Advance Option for Log and Disable Message Processing
Type Installed Collector (VM)
- Now, Inside the Collection add Source as Installed Collector
- Run the Script Shown on Sumo UI
- Give chmod 0777 to script and run it
- Select Access Token (Administration -> Account Security Settings -> Installation Token -> Generate New)
- Device will Automatically Added
- Add Source as Rsyslog
- Make Sure in VM UDP 514 Port is Enabled and Recieving Alerts (. @127.0.0.1:1514)
Rsyslog Configs
- Rsyslog Config Folder (cd /etc/rsyslog.d)
- Create a New Config (nano /etc/rsyslog.d/60-sumo-forward.conf)
- Add (. @127.0.0.1:1514)