vars
Manages Cribl Edge global variables.
See Global Variables for more information.
Sub-commands:
Sub-commands and Options
vars add
Add a global variable.
Usage:
./cribl vars add -i exampleVariable -v 42 -t number -d "Sample number variable" -c cribl,sample
Sample response:
[
{
"type": "number",
"lib": "cribl",
"description": "Sample number variable",
"value": "42",
"tags": "cribl,sample",
"id": "exampleVariable"
}
]
Arguments:
Option | Definition |
---|---|
-i <id> | Global variable ID. |
-t <type> | Type. |
-v <value> | Value. |
-a <args> | Arguments. |
-d <description> | Description. |
-c <tags> | Custom Tags (comma separated list). |
-g <group> | Group ID. |
vars get
List global variables.
Usage:
./cribl vars get
Arguments:
Option | Definition |
---|---|
-i <id> | Global variable ID. |
-g <group> | Group ID. |
vars remove
Remove global variable.
Usage:
./cribl vars remove -i exampleVariable
Arguments:
Option | Definition |
---|---|
-i <id> | Global variable ID. |
-g <group> | Group ID. |
vars update
Update global variable.
Usage:
./cribl vars update -i exampleVariable -v 2001
Arguments:
Option | Definition |
---|---|
-i <id> | Global variable ID. |
-t <type> | Type. |
v <value> | Value. |
-a <args> | Arguments. |
-d <description> | Description. |
-c <tags> | Custom Tags (comma separated list). |
-g <group> | Group ID. |