Splunk® Supported Add-ons

Splunk Add-on for Google Cloud Platform

Acrobat logo Download manual as PDF


Acrobat logo Download topic as PDF

Configure Resource Metadata inputs for Splunk Add-on for Google Cloud Platform

Configure Resource Metadata inputs for Splunk Add-on for Google Cloud Platform using Splunk Web or via configuration file, using the information in the inputs parameters table below.

Restart your Splunk instance or toggle the '''enable''' input after you make any configuration changes in the configuration files or in Splunk Web.

Configure Resource Metadata inputs using the Splunk Web

  1. Click Create New Input in the Inputs tab, and then choose Resource Metadata.
  2. Enter the Name, Credentials, Projects, Zones, APIs with suitable intervals, Index, and Sourcetype using the information in the inputs parameter table.
  3. Save your changes.

Do not go to the Splunk Add-on for Google Cloud Platform configuration page under Settings > Data Inputs to configure Google Cloud Platform inputs. This page is not supported for this type of input.

Configure Resource Metadata inputs using configuration file

  1. Create a file named google_cloud_resource_metadata_inputs.conf under $SPLUNK_HOME/etc/apps/Splunk_TA_google-cloudplatform/local.
  2. Create stanzas using the following template.
    [<name>]
    google_apis= <value>
    google_credentials_name = <value>
    google_project = <value>
    google_zones = <value>
    index = <value>
    sourcetype = <value>
    
  3. Save and return to your Splunk instance.

Input Parameters

Each attribute in the following table corresponds to a field in Splunk Web.

Attribute Corresponding field in Splunk Web Description
name Name Enter a unique name of the Resource Metadata input.
google_credentials_name Credentials The stanza name defined in google_credentials.conf
google_project Projects Google resource metadata project ID
google_zones Zones A deployment area for Google Cloud resources within a region.
google_apis APIs Resources of Compute Engine.
index Index The index in which to store Google Cloud Storage Bucket.
sourcetype Sourcetype Name of the Sourcetype.
Last modified on 08 September, 2021
PREVIOUS
Configure Cloud Storage Bucket inputs for Splunk Add-on for Google Cloud Platform
  NEXT
Configure Google GSuite audit logs for the Splunk Add-on for Google Cloud Platform

This documentation applies to the following versions of Splunk® Supported Add-ons: released


Was this documentation topic helpful?

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