cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
597
Views
0
Helpful
1
Replies

Filter events based on description - case sensitivity

Hello,

I'm trying to filter events based on the "descr" field and am curious if there's a way to get it done without having to worry about case sensitivity.

 

Testing in Object Store (Visore) and searching for No Operational Members for example:

 

https://{{IP_address}/visore.html#/&class=eventRecord&propFilter=query-target-filter=and(wcard(eventRecord.descr,%22noOperMembers%22))

 

returns mutliple objects, however when I don't follow the case sensitivity:

 

https://{{IP_address}/visore.html#/&class=eventRecord&propFilter=query-target-filter=and(wcard(eventRecord.descr,%22noopermembers%22))

 

I get 0 results. Is there any way to disable match sensitivity?

 

Thank you

1 Reply 1

RedNectar
VIP Alumni
VIP Alumni

Hi @VladislavMoricky72147 ,

You could try replacing the first = with ~ to do a "fuzzy" search. (~ translates to %60)

https://{{apic}}/visore.html#/&class=eventRecord&propFilter%60query-target-filter=and(wcard(eventRecord.descr,%22noopermembers%22))

But on my APIC the eventRecord database is too big for my browser to handle - but the logic works fine with smaller datasets

 

 

 

RedNectar aka Chris Welsh.
Forum Tips: 1. Paste images inline - don't attach. 2. Always mark helpful and correct answers, it helps others find what they need.

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License