Automatic tagging based on Lambda Name

Hi All,

We have our application Id in the AWS Lambda name, so we would like to add a tag “AppID” on the entity like:

Thought the entitySelector works as required, the tag value is set as the regex itself.

How can apply auto tag for my scenario?

Hi,
apply a capture group

@yanezza , yeah but the attribute “Name” or “DetectedName” is coming as empty and hence the reason the capture fails

Need to know whats the syntax on getting the entity name for Lambda

I don’t think exist a Placeholder for the AWS Lambda Name. Try {ProcessGroup:AmazonLambdaFunctionName}

the involved entity does not show up in processgroup schema, so this too wont work.

Hey @vishnu_kumar, did you manage to find the solution to your problem? If so, it would be amazing if you’ve shared it with the rest of the Community! If not, let me know, and I’ll look for some further assistance 😊

Hi @IzabelaRokita , no actually, I went with a static Auto tagging without any placeholders and a value of ‘APP12345’ like

type(AWS_LAMBDA_FUNCTION), entityName.startsWith("APP12345")

Would be happy, if we get a better solution.

Hi @vishnu_kumar ,
Not sure if you got the answer to this or not yet but a better way here would be to use Service name. Lambda functions would be detected in Dynatrace as RPC services.
So we can use this one {Service:DetectedName} in the condition and then use regex to extract the required part from the name of the lambda and instead using Entity Selector, use the Monitored entity itself, Select Services and add the following conditions.

Hope this helps.

Regards,
@Maheedhar_T