Forum Discussion
Accessing list of non-subtable session table keys
I have an iRule that creates key/value pairs in the main session table, and not in a subtable. The tables article series states:
With subtables comes a new and long-desired ability: the ability to list or count the number of keys:
table keys -subtable [-count|-notouch]
You’ll note that unlike all the other table subcommands, the subtable name is not optional here: there’s no way to use it on entries that aren’t in a subtable.
I understand that. What I want to know is whether or not there's a way to get at that information outside the scope of an iRule, by using something like tmsh or bigpipe. I'd like to be able to occasionally look at a raw dump of the data, and I'm totally fine with doing that out of band.
Is there any way to do that? I can rewrite my iRules to use subtables, but I'd rather not deal with the subtable-on-single-CPU issue if I don't have to.
3 Replies
- spark_86682Historic F5 AccountThere is currently no way to do that, unfortunately. It is a high priority RFE, however, and is currently being worked on, although there is no guarantee of which software release will support it.
- wfaulk_98141
Altostratus
Thanks for the info. I'll keep my eye out for that update. In the mean time, I figured out a way to split my table in two. Not exactly halves, but close enough, I hope.
- calliper_143911
Nimbostratus
Hi, Can we still not list keys from the main session table? It's been nearly two years. Many thanks.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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