#support

Querying Service Name as Variable

TLDR Romario asked how to use "service name" as a variable in queries. Srikanth suggested replacing stringTagMap['service.name'] with DISTINCT serviceName.

Powered by Struct AI
white_check_mark1
5
5mo
Solved
Join the chat
Apr 24, 2023 (5 months ago)
Romario
Photo of md5-6c7925cd4df7e39b036d2b26fb21013d
Romario
06:09 PM
What’s the tag for “service name” to use it in queries?
06:10
Romario
06:10 PM
I think is service.name lol
06:14
Romario
06:14 PM
How can I use the service name as variable? I tried this but it takes a lot of time to run
Image 1 for How can I use the service name as variable? I tried this but it takes a lot of time to run
Apr 25, 2023 (5 months ago)
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
08:32 AM
replace stringTagMap['service.name'] with DISTINCT serviceName
white_check_mark1
Romario
Photo of md5-6c7925cd4df7e39b036d2b26fb21013d
Romario
03:03 PM
thanks!