Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Service mapping - how to automate tag based for thousands of CI´s

Daniel Braga
Tera Expert

Hi all! I need help finding a more robust solution for service mapping, related to "guardrail" CI´s on my CMDB. There are hundreds of thousands of CI´s created on our AWS instance that we already discover and have a set of key value tags. So depending on those tag values, i would like to automatically map it to an application service. I know this is already possible via the CSDM > Manage Technology Management Services > Service Instance, however it is limited and i need a robust and automatic solution due to the amount of CI´s. I could create a script but would like to know what would be the corret way to do it. thanks in advance!

1 ACCEPTED SOLUTION

Vijaya_Mnpram
Kilo Sage

@Daniel Braga  The Tag-based service mapping would take care of it, irrespective of the number of CI's. you can try doing it. What exactly is "guardrall"? In the "cmdb_key_value" table, what is the key which has 'guardrall' as the value. 

I did the step by step guidance for tag-based service mapping for one of the requesters in Community. Here is the link: Go through it and do let me know if you still have questions OR struck at some point. 

 

Solved: Tag based Discovery - ServiceNow Community

 

View solution in original post

4 REPLIES 4

Vijaya_Mnpram
Kilo Sage

@Daniel Braga  The Tag-based service mapping would take care of it, irrespective of the number of CI's. you can try doing it. What exactly is "guardrall"? In the "cmdb_key_value" table, what is the key which has 'guardrall' as the value. 

I did the step by step guidance for tag-based service mapping for one of the requesters in Community. Here is the link: Go through it and do let me know if you still have questions OR struck at some point. 

 

Solved: Tag based Discovery - ServiceNow Community

 

Hi! I did follow your steps, however, i dont see the actual relation between the CI´s and the service mapping, only between the Tag based Service Families and the mapped application service. 

I think i understand whats going on...i tried on a cloud function ci (cmdb_ci_cloud_function) and it worked....but for some reason it doesnt work for cloud resource (cmdb_ci_cmp_resource). Any idea why?

@Daniel Braga  I guess, tagging works basing on the entries in cmdb_key_value.list

If the CI's from cmdb_ci_cmp_resource has entries in cmdb_key_value, then it can be used in tag based mapping.