As my data group lists get larger and larger, I’ve needed to step away from the GUI to manage them.  API will be used eventually but for now TMSH will be the quick and dirty method of managing and verifying entries.

Note: Modifying data-groups via TMSH requires Administrator privileges.

modify ltm data-group internal fruits records add {“orange”}

To add multiple entries at once, just separate via comma:

modify ltm data-group internal fruits records add {“apple” “pear”}

To enter name value pairs, put the Value in another set of curly braces:

modify ltm data-group internal fruits records add { “banana” { data “yellow”} }

To add a value to a pre-existing key:

modify ltm data-group internal fruits records modify { “orange” { data “orange” }}

Now to list the values:

list ltm data-group internal fruits

Advertisements