Content Pack for Monitoring Microsoft Windows

Content Pack for Monitoring Microsoft Windows

This documentation does not apply to the most recent version of Content Pack for Monitoring Microsoft Windows. For documentation on the most recent version, go to the latest release.

Install and configure the Content Pack for Monitoring Microsoft Windows

Perform the following high-level steps to configure the Content Pack for Monitoring Microsoft Windows:

  1. Install the content pack on your ITSI search head.
  2. Create a search macro that includes all indexes you're using for data collection.
  3. Enable entity discovery to automatically discover entities for which relevant data has been collected.
  4. Tune KPI base searches
  5. Tune KPI threshold levels.

Prerequisites

Install the content pack

You have two options for installing and configuring the Content pack for Monitoring Microsoft Windows:

  • One option is to install the content pack from the Splunk App for Content Packs. The Content Pack for Monitoring Microsoft Windows is included in the Splunk App for Content Packs if you are using ITSI version 4.9.x higher.
  • Your second option is to install the content pack using backup and restore functionality provided by ITSI. You must choose this option if you are using ITSI version 4.8.x or lower.

Install the content pack from the Splunk App for Content Packs

To install the Content Pack for Microsoft Exchange, you have to install the Splunk App for Content Packs. To install the Splunk App for Content Packs in your environment, see the Splunk App for Content Pack installation instructions.

After you install the Splunk App for Content Packs, follow these steps to configure the Content Pack for Monitoring Microsoft Windows:

  1. From the ITSI main menu, go to Configuration > Data Integrations.
  2. Click Add structure to your data.
  3. Select the Monitoring Microsoft Windows content pack.
  4. Review what's included in the content pack and then click Proceed.
  5. Configure the following settings:
    Setting Description
    Choose which objects to install For a first-time installation, select the items you want to install and deselect any you're not interested in.


    For an upgrade, the installer identifies which objects from the content pack are new and which ones already exist in your environment from a previous installation. You can selectively choose which objects to install from the new version, or install them all.

    Choose a conflict resolution rule for the objects you install For upgrades or subsequent installs, decide what happens to duplicate objects introduced from the content pack. Choose from the following options:
    • Install as new - Objects are installed and any existing identical objects in your environment remain intact.
    • Replace existing - Existing identical objects are replaced with those from the new installation. Any changes you previously made to these objects are overwritten.
    Import as enabled Select whether to install objects as enabled or to leave them in their original state. It's recommended that you import objects as disabled to ensure your environment doesn't break from the addition of new content.


    This setting only applies to services, correlation searches, and aggregation policies. All other objects such as KPI base searches and saved searches are installed in their original state regardless of which option you choose.

    Add a prefix to your new objects Optionally, append a custom prefix to each object installed from the content pack. For example, you might prefix your objects with CP- to indicate they came from a content pack. This option can help you locate and manage the objects post-install.
    Backfill service KPIs Optionally backfill your ITSI environment with the previous seven days of KPI data. Consider enabling backfill if you want to configure adaptive thresholding and Predictive Analytics for the new services. This setting only applies to KPIs and not service health scores.
  6. When you're satisfied with your selections, click Install selected.
  7. Click Install to confirm the installation. When the installation completes you can view all objects that were successfully installed in your environment. A green check mark in the main Content Library list indicates which content packs you've already installed.

Install the content pack using backup and restore functionality provided by ITSI

If you are using ITSI version 4.8.x or lower, follow these steps to install the Content Pack for Monitoring Microsoft Windows. For instructions on restoring a backup, see Restore from a backup zip in the Administration Manual.

Perform the following steps to install the content pack:

  1. Download the following ITSI backup file: BACKUP-CP-WIN-OS-1.0.1.zip.
  2. On your ITSI search head, create a restore job and upload the backup file. For instructions, see Restore from a backup zip file.
  3. After the restore job completes, confirm that the objects included in the content pack are restored to your environment.

Create the index search macro

If you're not collecting data in the default indexes given by the Splunk Add-on for Microsoft Windows, you need to create a new macro with the indexes that you're using for data collection.

Prerequisites

  • You must have the admin role to create the index search macro.
  • You must know the indexes your organization uses to send data to your Splunk platform deployment using the Splunk Add-on for Microsoft Windows.

Steps

  1. From Splunk Web, click Settings > Advanced Search > Search Macros.
  2. Click New Search Macro.
  3. Configure the following fields:
    Field Value
    Destination app itsi
    Name itsi-cp-windows-indexes
    Definition All of the indexes that you're using for data collection from add-ons combined with OR operators.

    For example:

    (index=windows OR index=perfmon OR index=<index-name>)
    
  4. Click Save.
  5. Configure read/write permissions for the macro:
    1. For the newly created macro, click Permissions.
    2. Select All apps (system).
    3. Give Read access to Everyone.
    4. Give Write access to admin.
    5. Click Save.

Enable automatic entity discovery

Perform the following steps to ensure that ITSI automatically detects your Microsoft Windows hosts. For best results, perform these steps after you configure one or more hosts to send data to Splunk.

  1. Navigate to ITSI on the search head.
  2. Click Configuration > Entities.
  3. Click Create Entity > Import from Search.
  4. Select Ad hoc search and enter the following search:

    `itsi-cp-windows-indexes` sourcetype=WinHostMon | eval role="operating_system_host" | stats latest(family) as family, latest(version) as version, latest(vendor_product) as vendor_product, latest(role) as itsi_role, latest(cpu_cores) as cpu_cores, latest(mem) as memory, latest(cpu_architecture) as cpu_architecture by host | fields + host, family, version, vendor_product, itsi_role, cpu_cores, memory, cpu_architecture

  5. Click the search icon to run the search and confirm that one or more hosts are shown with all columns populated.
  6. Click Next.
  7. In the Import Column As column, set the host field to Entity Title. Set all other fields to Entity Information Field.
  8. Set Conflict Resolution to Update Existing Entities and set the Conflict Resolution Field to host.
  9. Click Import.
  10. After the import completes, click Set up Recurring Import.
  11. Name the recurring import ITSI discovery of Windows servers
  12. Set the frequency based on the needs of your deployment. Use Run on cron Schedule for maximum flexibility.
  13. Click Submit. ITSI creates the new modular input in $SPLUNK_HOME/etc/apps/itsi/local/inputs.conf.

Tune KPI base searches

This content pack ships with the following KPI base searches:

  • OS:Performance.WIN.CPU
  • OS:Performance.WIN.LogicalDisk
  • OS:Performance.WIN.Memory
  • OS:Performance.WIN.Network
  • OS:Performance.WIN.PhysicalDisk
  • OS:Performance.WIN.Process
  • OS:Performance.WIN.System
  • OS:Performance.WIN.WinHostMon

Each search runs every five minutes with a 5 minute calculation window, and uses only the latest value on a per-entity basis. The 5 minute calculation window ensures that you won't see N/A for less frequent data. Using the latest value means that the KPI status refreshes as quickly as possible for data collected more frequently.

You must review and tune all base searches to run at a frequency that matches your data collection interval.

Tune KPI thresholds

Aggregate KPI thresholds use Normal, Medium, and Low levels, while per-entity thresholds except for available disk space don't exceed Medium. Lower threshold levels for OS-level monitoring allow application-level KPIs to take a more prominent threshold level. For example, a server at 100% CPU isn't a critical issue if the apps running on that server are responding normally.

Aggregate threshold values are calculated for general use only. You must tune these threshold values according to your environment. For more information, see Overview of creating KPIs in ITSI in the Service Insights manual.

Last modified on 03 March, 2022
Data requirements for the Content Pack for Monitoring Microsoft Windows   Use the Content Pack for Monitoring Microsoft Windows

This documentation applies to the following versions of Content Pack for Monitoring Microsoft Windows: 1.0.1


Was this topic useful?







You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters