cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ProTip - Adding ElasticSearch Extension Data to a Management Zone

GilesDay
Advisor

I tried searching to see if anyone else had identified the entity selectors needed to add ElasticSearch data to a Management Zone. I didn't find anything in the first few minutes of looking but I did find this : Solved: Add extensions to a Management Zone - Dynatrace Community and @Mike_L  post on finding the relationships. I used this as a starting point, and got this for ElasticSearch

GilesDay_2-1741016371231.png

I started by adding a tag App:XYZ to the Elastic Search Cluster Node. This will allow me to select a particular cluster to add to the Management zone and have all the other underlying parameters added via relationships.

GilesDay_1-1741016289977.png

I then added the following rules to the Management Zone

 

 

 

type("elasticsearch:cluster"),tag("App:XYZ")
type("elasticsearch:index"),fromRelationship.runsOn(type("elasticsearch:cluster"),tag("App:XYZ"))
type("elasticsearch:disk"),fromRelationship.isChildOf(type("elasticsearch:node"),fromRelationship.isChildOf(type("elasticsearch:cluster"),tag("App:XYZ")))
type("elasticsearch:node"),fromRelationship.isChildOf(type("elasticsearch:cluster"),tag("App:XYZ"))
type("elasticsearch:thread_pool"),fromRelationship.runsOn(type("elasticsearch:node"),fromRelationship.isChildOf(type("elasticsearch:cluster"),tag("App:XYZ")))

 

 

The only one I didn't add from the first screenshot was elasticsearch:node is same as host, because the node was already added in a different rule. I'm not 100% sure this is correct, however when navigating the extension data in and out of the management zone, I could not see any difference. However if anyone has any thoughts on that, or if I missed anything, please add.

 

Note this was done on Dynatrace Managed, 1.306.93

Why do App Developers have high insurance rates? (gnihsarc peek yehT)
1 REPLY 1

Kenny_Gillette
DynaMight Leader
DynaMight Leader

Thanks!  Helpful as I used to tie AWS accounts to only needed metrics based off tags

Dynatrace Certified Professional

Featured Posts