Bug 1371108

Summary: Query string on EFK web console does not escape special characters
Product: OpenShift Container Platform Reporter: Javier Ramirez <javier.ramirez>
Component: Management ConsoleAssignee: Jessica Forrester <jforrest>
Status: CLOSED DUPLICATE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.2.0CC: aos-bugs, ewolinet, jcantril, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-29 19:27:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Javier Ramirez 2016-08-29 10:53:16 UTC
Description of problem:

When viewing archived logs from the OSE web console by selecting button View Archive the search string does not consider special character like '-' that is heavilly use in properties, e. g. 

kubernetes_pod_name: nodejs-example-1-a0zeo && kubernetes_namespace_name: logging-test-project-02 

Such a query string ends up in the wrong result because the character  '-' has not been escaped correctly.

Version-Release number of selected component (if applicable):
OpenShift 3.2 

How reproducible:
Always

Steps to Reproduce:
1. Click on View Archive
2. In the search string use "-"

Actual results:
The results are wrong because the character "-" has not been escaped.


Expected results:
Special characters to be escaped correctly.

Additional info:
Screenshot attached

Comment 1 Jeff Cantrill 2016-08-29 19:27:01 UTC
Closing as duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1339554 which fixes the link provided by the web console.

*** This bug has been marked as a duplicate of bug 1339554 ***