For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

wfaulk_98141's avatar
wfaulk_98141
Icon for Altostratus rankAltostratus
Dec 19, 2012

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_86682's avatar
    spark_86682
    Historic F5 Account
    There 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.
  • 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.

     

  • Hi, Can we still not list keys from the main session table? It's been nearly two years. Many thanks.