Collect Streaming Data for Host Metrics
To collect logs for Host Metrics, use the following procedure.
The Setup Wizard guides you through different steps, depending on your operating system.
Linux
- Select Set Up Streaming Data.
- Select Host Metrics as the data type.
- Select Existing Collector to use a Collector that has already been installed, or select New Collector to install a new Collector.
- Existing Collector. Select the Collector from the list.
- New Collector. Select Linux from the menu. To download and install a Linux Collector, open a terminal, then click Copy to copy and paste the provided code into the terminal. As the Collector installs, follow the prompts. This may take a few minutes. Once the Collector has been installed and registered, the Continue button becomes active.
The Setup Wizard Token is a one-time use token, available for one hour after it is generated, then it expires. This token authenticates the user. It is designed to be used for only one Collector. The token cannot be used with the API, and it cannot be disabled.
- Click Continue.
- A Source Category, which will help you search your logs later, is filled automatically. You can edit the name if you like.
- Enter the frequency at which Metrics will be sent. Select a value from 10 seconds to 5 minutes.
- Select the metrics to collect. Activate the check boxes for the options you need: CPU, Memory, TCP, Network, and Disk.
- Click Continue.
Windows
- Select Set Up Streaming Data.
- Select Host Metrics as the data type.
- Select Existing Collector to use a Collector that has already been installed, or select New Collector to install a new Collector.
- Existing Collector. Select the Collector from the list.
- New Collector. To download and install a Windows Collector, click the download link. When the installer package downloads, open it and follow the installation wizard prompts. Click Copy to copy and paste the provided Token into the command prompt when required. This may take a few minutes. Once the Collector has been installed and registered, the Continue button becomes active.
The Setup Wizard Token is a one-time use token, available for one hour after it is generated, then it expires. This token authenticates the user. It is designed to be used for only one Collector. The token cannot be used with the API, and it cannot be disabled.
- Click Continue.
- A Source Category, which will help you search your logs later, is filled automatically. You can edit the name if you like.
- Enter the frequency at which Metrics will be sent. Select a value from 10 seconds to 5 minutes.
- Select the metrics to collect. Activate the check boxes for the options you need: CPU, Memory, TCP, Network, and Disk.
- Click Continue.
Mac OS
- Select Set Up Streaming Data.
- Select Host Metrics as the data type.
- Select Existing Collector to use a Collector that has already been installed, or select New Collector to install a new Collector.
- Existing Collector. Select the Collector from the list.
- New Collector. To download and install a Mac OS Collector, open a terminal, then click Copy to copy and paste the provided code into the terminal. As the Collector installs, follow the prompts. This may take a few minutes. Once the Collector has been installed and registered, the Continue button becomes active.
The Setup Wizard Token is a one-time use token, available for one hour after it is generated, then it expires. This token authenticates the user. It is designed to be used for only one Collector. The token cannot be used with the API, and it cannot be disabled.
- Click Continue.
- A Source Category, which will help you search your logs later, is filled automatically. You can edit the name if you like.
- Enter the frequency at which Metrics will be sent. Select a value from 10 seconds to 5 minutes.
- Select the metrics to collect. Activate the check boxes for the options you need: CPU, Memory, TCP, Network, and Disk.
- Click Continue.
While the data type is being configured, the Setup Wizard provides a progress bar, and at this point, you can either add more data or go to the Sumo Logic Web Application. If you leave the wizard and go to the Sumo Logic Web Application, a progress bar is displayed in the main navigation bar to let you know when the configuration is finished.