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, 2009Hi Joe,
When we try to get multiple iP's, we end up with a result like the one attached below. It falls into a single row. For our tracking we just need the hitcount and ip. Is there a way to format the message to show the vlaue after 'low' and the value after 'ldns_ip'. Just curios , thanks
{'return': {'time_stamp': {'hour': 21, 'month': 2, 'second': 29, 'year': 2009, '
day': 27, 'minute': 38}, 'statistics': [{'city': 'Unknown', 'statistics': [{'tim
e_stamp': 0, 'type': 'STATISTIC_GTM_LDNS_REQUESTS', 'value': {'high': 0, 'low':
718}}], 'ldns_ip': '64.212.90.163', 'country': 'UNITED STATES', 'last_accessed':
1235770459, 'state': 'Unknown', 'continent': 'North America'}, {'city': 'Unknow
n', 'statistics': [{'time_stamp': 0, 'type': 'STATISTIC_GTM_LDNS_REQUESTS', 'val
ue': {'high': 0, 'low': 718}}], 'ldns_ip': '64.212.90.163', 'country': 'UNITED S
TATES', 'last_accessed': 1235770459, 'state': 'Unknown', 'continent': 'North Ame
rica'}]}}
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