How to query the TIBCO Active Spaces Cache Cluster space contents from AS-ADMIN.
book
Article ID: KB0076171
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
-
Not Applicable
-
Description
Description: We can query the TIBCO Active Spaces cache contents by connecting through AS-ADMIN and using the show space command with additional filtering options. This will enable users to confirm the contents of the cache. This filtering using the show space command is more useful if explicit tuple is enabled which happens by default in recent TIBCO Business Events versions ( 5.1.2 , 5.1.3 etc.).
Issue/Introduction
How to query the TIBCO Active Spaces Cache Cluster space contents from AS-ADMIN.
Environment
All Supported Platforms
Resolution
Steps to be followed:
1). cd TIBCO_HOME/as/2.x/lib/
2). java -jar as-admin.jar
3). connect name <CLUSTER_NAME> discovery <DISCOVERY_URL> listen <LISTEN_URL for AS-ADMIN> // connection details (discoveryURL, metaspace name )
4). show spaces //Get the SpaceName
5). join space '<SpaceName>'
6). show space '<SpaceName>' entries filter '<FIELD_NAME>=<VALUE>'
leave space '<SpaceName>'
Example filters:
show space 'dist-unlimited-bs-readOnly-<cluster>--<concept_space>' entries filter 'extId="TEST09860499242"' show space 'dist-unlimited-bs-readOnly-<cluster>--<concept_space>' entries filter 'id=24957011313673' show space 'SpaceName' entries filter 'id=123' query_limit 10 //Fetches first 10 entries.