Forum Discussion
Haarith_Devaraj
Nimbostratus
Feb 25, 2009LDNS Stats Retrieval
Hi All,
We are trying to retrieve all the records that show up on
Overview -> Statistics -> Local DNS.
The SDK points us at this
GtmLdnsStatistics g...
Haarith_Devaraj
Nimbostratus
Feb 27, 2009Something like this seems to work.
for index in range( len(tokens) ):
if keyword.match( tokens[index] ):
start = max(0, index-window)
finish = min(len(tokens), index+window+1)
lhs = string.join( tokens[start:index] )
rhs = string.join( tokens[index+1:finish] )
print "%s [%s] %s" % (lhs, tokens[index], rhs)
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