I am trying to filter an APM resource by APM tag. Can this be done?
I know I can filter by Application.name like '%Round Trip Email%' but I want to do something like
Application.Tag like 'Monitor'
Possible? Syntax?
Not exactly following what you are trying to filter by here...What do you mean by "tag"?
There are applications which are made up of components and you can filter by either of these.
Doing Application.Tag would be telling the software to look in the Application Table, Tag Column Which does not exist.
Ryan
Hello sotherls,
Filtering by Tag is possible, although syntax is little more complicated than Application.Tag = 'something'. You can use subselect for that.
Put this into filter field:
Application.ApplicationTemplateID IN (SELECT TemplateId FROM Orion.APM.Tag WHERE TagName LIKE 'YOUR_TAG')
As you can see, tags are in Orion.APM.Tag table and are bound to application through TemplateId. You can write filter using tags with this in mind.
Thanks Jiri.Tomek!
I had to modify what you suggested (not sure if it is an Orion 9.5 thing) to the following syntax:
Application.TemplateID IN (select TemplateId FROM APM_Tag WHERE Name LIKE 'YourTagHere')
When I did the above it showed my data. This was a great tip as I can use it in the future.
That modification you done to query can be resource-specific. In general, provided syntax should work. What resource are you filtering with this?
I created a new view called 'User Experience' and am using these filters for the 'Top XX Components by Response Time'.