Fetches records for database in a specified cluster.
Examples
The following is an example of fetching 30 records starting from 10 index from IPv6 database in binding cluster for query
"{'uuid': {'$regex': 'vpas-system-1200'}}”.
Default <= 5 records are displayed, all 30 records are saved in /data/config/Query.log. admin@orchestrator[Binding-master]#
database query clustername binding dbname IPV6 query "{'uuid': {'$regex': 'vpas-system-1200'}}" method find max 30 start 10
Press yes to continue
(yes/no) << yes
{'_id': '2507:9903:1808:0583',
'fqdn': 'site-d-client-calipers21-gx.pcef.gx',
'sessionid': 'kmanchan21411kunalmanchanda2',
'srk': 'server.sitedstandalone',
'staleBindingExpiryTime': datetime.datetime(2021, 5, 10, 13, 27, 24, 762000),
'systemId': 'vpas-system-1',
'ts': 1620048444762,
'uuid': 'vpas-system-12002439730'}
{'_id': '2507:9903:1808:061a',
'fqdn': 'site-d-client-calipers21-gx.pcef.gx',
'sessionid': 'kmanchan21562kunalmanchanda2',
'srk': 'server.sitedstandalone',
'staleBindingExpiryTime': datetime.datetime(2021, 5, 10, 13, 27, 24, 763000),
'systemId': 'vpas-system-1',
'ts': 1620048444763,
'uuid': 'vpas-system-12002439881'}
{'_id': '2507:9903:1808:065d',
'fqdn': 'site-d-client-calipers21-gx.pcef.gx',
'sessionid': 'kmanchan21629kunalmanchanda2',
'srk': 'server.sitedstandalone',
'staleBindingExpiryTime': datetime.datetime(2021, 5, 10, 13, 27, 24, 763000),
'systemId': 'vpas-system-1',
'ts': 1620048444763,
'uuid': 'vpas-system-12002439948'}
{'_id': '2507:9903:1808:0694',
'fqdn': 'site-d-client-calipers21-gx.pcef.gx',
'sessionid': 'kmanchan21684kunalmanchanda2',
'srk': 'server.sitedstandalone',
'staleBindingExpiryTime': datetime.datetime(2021, 5, 10, 13, 27, 24, 764000),
'systemId': 'vpas-system-1',
'ts': 1620048444764,
'uuid': 'vpas-system-12002440003'}
{'_id': '2507:9903:1808:06b7',
'fqdn': 'site-d-client-calipers21-gx.pcef.gx',
'sessionid': 'kmanchan21719kunalmanchanda2',
'srk': 'server.sitedstandalone',
'staleBindingExpiryTime': datetime.datetime(2021, 5, 10, 13, 27, 24, 766000),
'systemId': 'vpas-system-1',
'ts': 1620048444766,
'uuid': 'vpas-system-12002440038'}
Default <= 5 records are displayed, Kindly check records in /data/config/Query.log based on max value provided.