sumologic
Cloud-native, real-time, unified logs and metrics analytics platform.
total methods: 267
total selectable resources: 83
See also:
[SHOW
] [DESCRIBE
] [REGISTRY
]
Installation
To pull the latest version of the sumologic
provider, run the following command:
REGISTRY PULL sumologic;
To view previous provider versions or to pull a specific provider version, see here.
Authentication
The following system environment variables are used for authentication by default:
SUMOLOGIC_ACCESSID
- SumoLogic Access ID (see Generating an Access Key)SUMOLOGIC_ACCESSKEY
- SumoLogic Access Key (see Generating an Access Key)
These variables are sourced at runtime (from the local machine or as CI variables/secrets).
Using different environment variables
To use different environment variables (instead of the defaults), use the --auth
flag of the stackql
program. For example:
AUTH='{ "sumologic": { "type": "basic", "username_var": "YOUR_SUMOLOGIC_ACCESS_ID_VAR", "password_var": "YOUR_SUMOLOGIC_ACCESS_KEY_VAR" }}'
stackql shell --auth="${AUTH}"
or using PowerShell:
$Auth = "{ 'sumologic': { 'type': 'basic', 'username_var': 'YOUR_SUMOLOGIC_ACCESS_ID_VAR', 'password_var': 'YOUR_SUMOLOGIC_ACCESS_KEY_VAR' }}"
stackql.exe shell --auth=$Auth
Server Parameters
The following parameter is required for the sumologic
provider if you are not using the us2
region:
region
- The SumoLogic regional endpoint (e.g.au
,ca
,de
,eu
,fed
,in
,jp
)
This parameter would be supplied to the WHERE
clause of each SELECT
statement if you are not usign the us2
region.