Try PubSub+

How to use where condition in SEMP V2 for subscriptionTopic

ManikantaManikanta Member Posts: 16
edited February 3 in PubSub+ Event Broker #1

http://xx.xx.xx/SEMP/v2/config/msgVpns/xx.xx.xx.xx/queues/xx.xx.xx/subscriptions?where=subscriptionTopic==#SLOG//
http://xx.xx.xx/SEMP/v2/config/msgVpns/xx.xx.xx.xx/queues/xx.xx.xx/subscriptions?where=subscriptionTopic==#*
http://xx.xx.xx/SEMP/v2/config/msgVpns/xx.xx.xx.xx/queues/xx.xx.xx/subscriptions?where=subscriptionTopic==#SLOG/*
http://198.47.204.209/SEMP/v2/config/msgVpns/MSG-VPN-SYS-MGMT-TEST-LAB/queues/MONITORING_MGMT-SLEM-Q-SLEMSYS-ANY/subscriptions?where=subscriptionTopic==SLOG/**
Example: subscriptionTopic: #SLOG/
/CONTROL/*/APP_CLI_EXCEUTE
I have subscriptions that matches with above subscriptionTopic patterns, but all of them returning empty results with 200 status. Why it is not returning the subscriptions that were matching?

http://xx.xx.xx/SEMP/v2/config/msgVpns/xx.xx.xx.xx/queues/xx.xx.xx/subscriptions?where=subscriptionTopic==* -->This works and returning all the subscriptions

Is there is any specific pattern i should pass in where condition for subscriptions? Could someone please provide some examples here ?

Sign In or Register to comment.