DX Application Performance Management

Expand all | Collapse all

Query for QHV to get Traces with 'root' keyword

Jump to Best Answer
  • 1.  Query for QHV to get Traces with 'root' keyword

    Posted 05-04-2015 05:42 AM

    Hi Experts,

     

    Actually I am trying to pull traces (Sampled or Normal) with specific component being the filter.

    I came to know that 'root' keyword could be used to extract the trace relevant to that component, but I am not able to find this in all the cases.

     

    To elaborate, In my Investigator I have portlets with path as -

    WebSphere Portal|Portlets|ABC

     

    Now I want to pull the traces which are containing component ABC. So I used below Query which is not working -

    "type:sampled AND root:WebSphere Portal|Portlets|ABC"

     

    I checked that we do have sampled traces containing ABC component. But still not been able to.

    Can somebody help me with this regard ?

     

    Appreciate your help.

     

    Regards,

    Vaibhav



  • 2.  Re: Query for QHV to get Traces with 'root' keyword

    Posted 05-05-2015 01:23 AM

    Hi Experts,

    Any inputs for the above problem statement ?

     

    Regards,

    Vaibhav



  • 3.  Re: Query for QHV to get Traces with 'root' keyword
    Best Answer

    Posted 05-05-2015 10:54 AM

    Since it's a Lucene database, there's actually a variety of options for searching. For values that contain a whitespace in them, surround the value in double quotes, like so: (type:sampled OR type:normal) AND root:"WebSphere Portal|Portlets|ABC". Alternatively, to limit the Historical Transaction Trace search by any component, you could try a simple query like (type:sampled OR type:normal) +"WebSphere Portal|Portlets|ABC".

     

    For more information on Lucene query syntax, click here.



  • 4.  Re: Query for QHV to get Traces with 'root' keyword

    Posted 05-05-2015 06:17 PM

    Thanks JakButtler.

     

    Not sure for the first option ( not working for me), but the other option is working for me.

     

    Thanks for your help.

     

    Regards,

    Vaibhav