### Example: Start Office 365 Activity Subscription Source: https://github.com/spalushi-cribl/docs-md-content/blob/main/products/stream/4.1/sources-office-365-activity/index.md An example of executing the command to start a subscription for collecting Office 365 activity logs, showing the expected output. ```bash $ curl -d "" -H "Authorization: Bearer eyJ0...long JWT here...MRDvw" -X POST "https://manage.office.com/api/v1.0/12345678-aaaa-4233-cccc-160c6c30154a/activity/feed/subscriptions/start?contentType=Audit.AzureActiveDirectory" ``` -------------------------------- ### Worker GUID File Content Source: https://github.com/spalushi-cribl/docs-md-content/blob/main/products/stream/4.2/deploy-distributed/index.md Example content of the Worker GUID file, which is generated when Cribl Stream is first installed and run. This file is located in CRIBL_HOME/local/cribl/auth. ```shell {"it":1647910738,"phf":0,"guid":"e0e48340-f961-4f50-956a-5153224b34e3","lics":["license-free-3.4.0-XYZ98765"]} ``` -------------------------------- ### Retrieve a Range of Elements from a Redis List Source: https://github.com/spalushi-cribl/docs-md-content/blob/main/products/stream/4.1/redis-function/index.md Use the 'lrange' command to get a slice of elements from a Redis list, specified by start and end indices. This example retrieves the entire list. ```redis-function cmd('lrange', 'mylist', 0, -1, 'rs6') ``` -------------------------------- ### Sample Response for Enabling Boot-start Source: https://github.com/spalushi-cribl/docs-md-content/blob/main/products/edge/4.10/cli-boot-start/index.md This is a sample output when enabling the Cribl Edge boot-start service, indicating the process and privilege requirements. ```text Enabling Cribl to be managed by initd... boot-start enable command needs root privileges... Enabled Cribl to be managed by initd as user=root. ``` -------------------------------- ### Install Pack Response Example (200 OK) Source: https://github.com/spalushi-cribl/docs-md-content/blob/main/api-reference/control-plane/cribl-core/packs.md Example of a successful response when installing a Pack. It returns a list of PackInstallInfo objects detailing the installed pack. ```json { "count": 0, "items": [ { "author": "string", "dependencies": { "property1": "string", "property2": "string" }, "description": "string", "displayName": "string", "exports": [ "string" ], "id": "string", "inputs": 0, "isDisabled": true, "minLogStreamVersion": "string", "outputs": 0, "settings": {}, "source": "string", "spec": "string", "tags": { "dataType": [ "string" ], "domain": [ "string" ], "streamtags": [ "string" ], "technology": [ "string" ] }, "version": "string", "warnings": [ "string" ] } ] } ``` -------------------------------- ### Sample Output for Key Add Help Source: https://github.com/spalushi-cribl/docs-md-content/blob/main/products/stream/4.1/securing-data-encryption/index.md Illustrates the command-line interface help text for the 'keys add' command, detailing parameters like algorithm, key class, KMS, expiration, and initialization vector usage. ```text Add encryption keys Usage: [options] [args] Options: [-a ] - Encryption algorithm. Supported values: aes-256-cbc (default), aes-256-gcm. [-c ] - Key class to set for the key. [-k ] - KMS to use. Must be configured; see cribl.yml. [-e ] - Expiration time, in epoch time. [-i] - Use an initialization vector. -g - Worker Group's ID. ``` -------------------------------- ### Sample Response for Boot-Start Enable Source: https://github.com/spalushi-cribl/docs-md-content/blob/main/products/edge/4.2/cli-reference/index.md Indicates the process of enabling Cribl Edge boot-start and potential privilege requirements. ```shell Enabling Cribl Stream/Edge to be managed by initd... boot-start enable command needs root privileges... Enabled Cribl Stream/Edge to be managed by initd as user=root. ``` -------------------------------- ### Example Download URL for Cribl Installation Package Source: https://github.com/spalushi-cribl/docs-md-content/blob/main/products/stream/4.2/upgrading/index.md This is an example URL format for downloading a Cribl installation package. It shows the version and architecture. ```text https://cdn.cribl.io/dl/4.1.0/cribl-4.1.0-6979aea9-linux-arm64.tgz ``` -------------------------------- ### Install Pack Request Body Example Source: https://github.com/spalushi-cribl/docs-md-content/blob/main/api-reference/control-plane/cribl-core/packs.md Example of a request body for installing a Pack. The 'source' parameter is crucial for specifying where the Pack originates from. ```json { "id": "string", "spec": "string", "version": "string", "minLogStreamVersion": "string", "displayName": "string", "author": "string", "description": "string", "source": "string", "tags": { "dataType": [ "string" ], "domain": [ "string" ], "technology": [ "string" ], "streamtags": [ "string" ] }, "allowCustomFunctions": true, "force": true, "anonymous": {}, "anonymous": {} } ``` -------------------------------- ### Sample Response for Start Source: https://github.com/spalushi-cribl/docs-md-content/blob/main/products/edge/4.2/cli-reference/index.md Indicates that Cribl Edge has started successfully. ```shell Starting Cribl Stream... ... Cribl Stream started ``` -------------------------------- ### Sample Help Command Response Source: https://github.com/spalushi-cribl/docs-md-content/blob/main/products/edge/4.10/cli-help/index.md Example output from the 'help' command, listing available sub-commands and their brief descriptions. ```text Software version: 4.4.2 Usage: [sub-command] [options] [args] Commands: help - Display help mode-edge - Configure instance in Edge mode mode-managed-edge - Configure instance in Managed-Edge mode mode-master - Configure instance in Leader mode mode-single - Configure instance in Single-Instance mode mode-worker - Configure instance in Worker mode reload - Reload instance restart - Restart instance start - Start instance status - Display status stop - Stop instance version - Print version ```