[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Bad Elasticsearch queries



Hey Alex,

You're right, the query is incorrect.
There was a BZ opened to address this very issue[1].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1358674

On Wed, Aug 10, 2016 at 1:50 PM, Alex Wauck <alexwauck exosite com> wrote:
When I click the "View archive" link for a pod's logs, I get a Kibana page with a query like this:

kubernetes_pod_name: some-pod-name && kubernetes_namespace_name: random-namespace

Am I missing something, or should it instead be this:

kubernetes_pod_name: "some-pod-name" && kubernetes_namespace_name: "random-namespace"

Seems like a bug to me.  I noticed this after clicking the "View archive" link for a build and getting a lot of log messages from random other pods in other namespaces.  I guess the current way works fine if you don't have hyphens in any names anywhere.

--
Alex Wauck // DevOps Engineer

E X O S I T E 
www.exosite.com 

Making Machines More Human.

_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]