Forum Discussion
Anthony
Nov 26, 2019Nimbostratus
List single record from data-group on CLI
I'm trying to query the data of a particular record within a data-group via the command line. However when I pass in the record name it still returns all records. user1@LTM1:Active:Changes Pendin...
Nov 26, 2019
Hi Anthony,
I think, records command not use for listing.
https://clouddocs.f5.com/cli/tmsh-reference/latest/modules/ltm/ltm-data-group-internal.html
Hope this will work:
tmsh list ltm data-group internal ants_test_dg | grep -A 2 "record_one"
- AnthonyNov 26, 2019Nimbostratus
Thanks for the quick response eaa, I should be able to work with that. I was working from that doc initially but hadn't twigged that list had such limited options.
Thanks again,
Ant
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects