Skip to main content
Sumo Logic

Lab 2 - Create a Host Metrics Source

This lab teaches you how to create a host metrics source.

Now that you have installed the Collector, let's add a host metric source so we can ingest your host's metrics into the Training instance.

To  add a new host metrics source to the collector, follow these steps: 

  1. Find the collector by name on the Collection page                                                                                                                                                                                       
  2. Manage Data -> Collection ->  and select Add > Add Source

    addsource.png
  3. We'll add a host metrics source. Click Host Metric

    Hostmetrics.png
  4. Assign these settings:

Name. Enter the name you'd like to display for the new Source. You’ll be able to search for the source name using _sourceName. We will be using Host_Metrics__<your_initials>als>

Source Host. You can enter the hostname of the machine from which the metrics will be collected. This is the machine where you installed the collector. We will leave this blank for now.

Source Category. Enter a string as the type of source. You’ll be able to search for the source category using _sourceCategory. For  _sourceCategory, use hostmetrics/<your_initials>

Scan Interval. This setting determines how frequently the source scans for host metrics data. Selecting a short interval will increase the message volume and could cause your deployment to incur additional charges. The default is 1 minute.

Metrics. Select all the checkboxes for the metrics to collect. By default, all CPU and memory metrics are collected. 

Select a top-level checkbox to select all metrics in a category. A blue checkmark icon indicates that the category is selected. To select individual metrics, click the right-facing arrow to expand the category and select the individual metrics.

  1. Once you have the settings similar to the ones below, click Save.

    clipboard_e5c9a63e00a884adc7e4bc49d1b4d3cea.png


    For your reference, here are descriptions of the host metrics you just collected.
     
  2. Click Collectors and Sources to return to the list on the Collection page. If necessary search for your initials to find your collector

    collectorsandsources.png

    The new source is now listed. The green checkmark indicates that its status is active and that Sumo Logic will start ingesting data from the source.

    clipboard_e740177d1ab2fd2496a7be6c74afbac82.png
    If you hover your cursor over the Source Category of the source, you will notice a blue icon

 

  1. Click on the blue icon
    clipboard_e52de4c95b4b8f37dbf9a3d0c984cf78e.png
     
  2. You will notice that a metric query is displayed with your host's metrics
    clipboard_ec8583a1eea443a1256b0c7ead99297c7.png
  3. We will discuss this metric query in future labs.  Congratulations in this lab you have created a metric source to send your host's metric information into the Sumo Logic environment. You can start investigating your host metrics.