Hi guys
I'm reading the guide but I'm not able to find a solution. Is there a way (query or rest) to retrieve all the business-transactions for an application in a specific time range?
Thanks a lot
Hi Gianmarco,
Which version of controller are you using?
In any case, you can try the following steps -
1. Go to controller -> Business Transactions.
This should show you all the BTs running for the last 15 minutes (depending on the time range you selected)
2. Click on the time range dropdown in the top right corner (which says 'Last 15 minutes'), and click 'Custom' (This option is below the 'Last 1 year' option
3. Now you select a custom time range by selecting the start date/time & end date/time
4. Alternatively, you can also click on 'Manage Custom Time Ranges' in the dropdown, and create a custom time range for future use
5. Once you have applied the custom time range, you will see all BTs that were running during that time range - You can also select the filters you want to apply to see specific BTs, or BTs without any performance data.
6. Now you can click 'More Actions -> Report - Export Grid Data' to get a CSV of all BTs.
Hope this helps.
Hi
I'm using the latest controller (v. 3.9.5). I need to get the data via query or api because my idea is to retrieve and revise them for elasticsearch purposes. In other words I'm thinking to retrieve business transactions for example every 10 minutes and fire them in elasticsearch.
Any idea?
Thanks
Hi,
Can you check if information at following doc link section helps:
Change: duration-in-mins parameter value as below
http://localhost:8096/controller/rest/applications/bookStore/metric-data?metric-path=Business%20Transaction%20Performance|Business%20Transactions|ecommerce|*|Average%20Response%20Time%20%28ms%29&time-range-type=BEFORE_NOW&duration-in-mins=10
You coud copy rest URL from metric browser as referred in below screenshot and replace BT name with wild card and request in separate browser tab and see if that helps:
Regards,
Arun
I've tried this call:
but the result is
[ ]
Hi,
In the provided URL the <tiername> is missing after string text "Business%20Transactions|ecom
Please provide the tier name for which you want to see statistics for all BTs:
Ex:
Hope that clarifies.
Regards.
Arun
Super cool!
Thanks a lot
where can i find a list of parameters that i can pass to the call?
For example I want only the active business transictions in the last 10 minutes
I've now noticed that calling the url
via java or via browser now it requires authentication (controller_realm). I've tried the admin user and password but without success. Any idea?
Thanks a lot
Hi ,
In browser if there is no already login session , provide the login details in following format in login popup for rest request:
username: user1@customer1
password: welcome
replace user1 with your username and customer1 is same if you are not using multi-tenant controller if yes, provide account name instead customer1 , customer1 is default account name for single tenant controller
password is password for user1 in this case, Hope that information helps.
Regards,
Arun
many thanks. All is now working fine!