Running a Performance Analysis query to locate problematic sessions
In the BMC Application Management Console, you analyze problems by performing queries. These queries enable you to investigate the performance and availability issues for pages and objects, and analyze the affected sessions.
To find and analyze the sessions that you need, you can narrow down your search by editing the session query. Further filtering enables you to localize your issue better. The following sections of this topic describe how to run and edit queries:
- To run a Performance Analysis query to locate problematic sessions
- To run a Performance Analysis query by using the saved settings
- To refine the query with specific parameters
- To edit the query manually
Before you begin
Before you start investigating problems in the Session Overview, you must configure a data storage location.
To run a Performance Analysis query to locate problematic sessions
- In the BMC Application Management Console interface, click Application Monitoring, and then click Performance Analysis.
- In the Action menu, select Start Analysis.
The Expression Builder tool opens. For more information about how to work with the Expression Builder, see Creating a filter. In the Record Type list, shown in the following figure, select the type of records to look for, either Object or Page.
Building a filter for the queryClick to enlarge image.
If the system has configured Watchpoints, the Monitored Traffic section becomes visible.
- (Optional) In the Monitored Traffic section, narrow the search to a specific traffic segment (Watchpoint).
By default, the system searches all traffic. - In the Traffic Type section, select, which type of traffic you want to monitor, Real User or Synthetic.
If the BMC Synthetic End User Experience Monitoring plugin is not available (for example, not connected), then this option is disabled. In the Time Range section, select one of the following options:
- Predefined, and select a time range for the query, such as Last 7 days.
- Custom, and select the start and end times for the query from the calendars.
- (Optional) Refine your search by manually adding expressions to the filter. For more information about how to create filter expressions, see Creating a filter.
Click Analyze.
The system displays results of the query. You can refine the query to narrow your search, save the analysis settings for later use, or you can drill down to the list of sessions retrieved by the query.
To run a Performance Analysis query by using the saved settings
- In the BMC Application Management Console interface, click Application Monitoring, and then click Performance Analysis.
Click the Favorites tab.
The Performance Analysis page displays a list of your saved query settings.
List of saved Performance Analysis settingsClick to enlarge image.
- (Optional) Select a different time range for a saved query setting.
- Click Analyze.
The system displays results of the query. To proceed with the analysis, click the list of sessions retrieved by the query.
To refine the query with specific parameters
- On the Performance Analytics page of the BMC Application Management Console, run a query.
Click the parameters that you want the next query to focus on.
For example, you can select a city where the user is located or a browser that he or she uses.
As shown in the following figure, when you click a parameter, the tooltip for the additional filter expression appears next to the Edit Filter button and an asterisk appears on the button to indicate that the filter has been changed.
Query with additional filterClick to enlarge image.
- Click Restart Analysis.
The system stops the previous query and starts a new query with the refined filter expressions.
To edit the query manually
- In the BMC Application Management Console interface, start an analysis by running a query.
- Click Edit Filter.
The text box appears and displays the current filter for the query. Type the additional expressions for the filter.
For example, you might want to specify the browser, user location or the error code that the user received. For more information about creating filter expressions, see Using-the-Expression-Builder-to-create-a-filter.
List of saved Performance Analysis settings
Click to enlarge image.- Click Restart Analysis.
The system validates whether the filter expression is correct.
If the filter expression is not correct, then the system redirects you to the Expression Builder tool and keeps all the entered filter expressions. Edit the filter in the Expression Builder, and click Restart Analysis.
If the filter expression is correct, then the system stops the previous query and starts a new query with the refined filter expressions.
Where to go from here
To learn more about creating a focused query, see Query parameters. After you have refined your search, you can further analyze the individual sessions or save the analysis settings for later use.