I am using dynaTrace 5.5 and want to create a Business Transaction for one of the application and want to know what Browser, its version and OS their clients are coming from. There are built in BT for UEM but I want to create my own as UEM is not implemented in this application. The required information is located in Header user-agent field. Please check the screenshot "user-agent field details.JPG" for details.
I want that the Output should look similar to Built in BTs "Visit by OS"" and "Visit by Client Family". I have also attached the O/P screenshots for these 2 BTs. I also created one BT using measure "Web Requests - Header Value" and put "user-agent" in header field. It is currently providing whole user-agent field (which also contains OS and Browser in it) but I want the O/P to be same like the Built in ones. I have also attached a screenshot which shows the results of my BT. I think some regex should be used to parse the O/P of user-agent field.
Anybody having any suggestions regarding this?
Answer by Shubham S. ·
Thanks for your reply Klaus..
I know about measure "Web requests - Browser". It will provide me Browser name and its version but the problem is it won't provide splittings for OS but I also want Splitting by OS along with Browser nd its version.
So I think in this case only regex on "user-agent" field can help.. I am not very good with regex. So could you please give me an idea what should be the regex for this kind of splitting? Below are some examples of user-agent data we are getting in our application.
Thanks in Advance.
Answer by Klaus E. ·
There is a measure "Web Requests - Browser" that gives you the information that you are looking for.
There is currently no measure for "Web Request - Operating system" available like it is for the visit based UEM measures. This would be an RFE. In the mean time you might be able to find a work around by applying a Regex on the "User Agent".