on 2023 Jan 17 12:44 PM
Recently, CCV2 Cloud Portal migrated to the new OpenSearch Dashboards. It migrated the filters (or saved search) from the previous logging service. However, the filters don't work anymore.
I tried to use the "Add filter" feature, but I can't filter using "kubernetes.labels.ccv2_cx_sap_com/platform-aspect", since "kubernetes.labels.ccv2_cx_sap_com/platform-aspect" is not indexed in "logs-json-*". How can I filter this field using "Add filter"?

Request clarification before answering.
When you expand the log messages have you got a little yellow warning icon next to the field you are trying to filter on?

You need to do what it says (although it isn't a completely accurate description)
From the burger menu in the top left choose Management > Stack Management
Choose Index Patterns then the `logs-json-*` pattern (should be default)
Click the 'Refresh field list' button in the top right (circular arrow icon)
Your searches should work now, although I've found it's best to re add the filter to get it to apply.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! That worked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.