Forum Discussion
aj1
Sep 10, 2015Nimbostratus
Yes Kevin, that is what my o/p looks like. Just want it to be cleaner at this point, by extracting the first address and displaying only that. I'm using python and the
requests
lib for GET(ting) the data, and currently, I can see a fraction of the connection table for that outside ip (cs-server-addr
). Thanks.
>>> import requests
>>> print connTable['apiRawValues']['apiAnonymous']
Sys::Connections
172.25.52.251%4:41334 69.28.57.177%4:10086 197.72.208.78:1142 69.28.57.177:10086 tcp 499 (slot/tmm: 1/0) none
172.25.52.251%4:60179 193.235.206.82%4:4070 197.72.208.78:1043 193.235.206.82:4070 tcp 47 (slot/tmm: 1/0) none