Global Variables are pre-saved, reusable variables you can define once and use across all your Checks.
Accessing Global Variables
Global Variables are stored securely in the Splunk Synthetic Monitoring platform, but the keys and values of all Global Variables in your account are visible to all users with Manager or Administrator access. Please do not use production credentials, real credit card information, or other sensitive data in Global Variables for your checks. Try using placeholder credentials to test workflows that require information to be entered during a check.
To use data such as test login credentials, API keys, or other test information, you can create a Concealed Global Variable to permanently conceal the value to all users of your account. See Create a Concealed Global Variable to learn how.
You need Manager access to create and reference Global Variables.
Create a new Global Variable
To create a new Global Variable, select Global Variables from the Admin Tools menu. Click Add Variable and enter the following in the form:
- Description (optional): A description can be useful to explain the purpose of the variable for future reference.
- Key: The name of the variable. You will use this to access your variable within a check.
- Value: The value that will replace the variable when the check is run.
Use a Global Variable in a Check
To use a Global Variable in a Check, see Use a Global Variable in a Check.