- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 11-17-2020 07:37 AM
Today, when the customer routes to Discovery Schedule Creation, especially for Cloud, then they land up in the custom UI which guides in a step-by-step manner starting from Account Validation to Schedule creation i.e.,
Acconut Validation => Sub Account Discovery (Conditional) => Datacenter Discovery => Choice for IP Discovery => Schedule Frequency => Finish / Finish and Run
When things don't work as expected then logs play a crucial role in providing the information necessary for investigation of the issue and thereby landing up to the root cause eventually.
There are multiple ways to find the log information but some of the most useful ones are listed below.
- Discovery Logs – a tab present below along with Devices & ECC Queues when you open a Discovery Status record
- Pattern Execution Flow – You’ll get the option in Discovery Log itself for the specific pattern(s)
- MID Logs – User can check the /agent/logs/ folder wherever MID server is deployed (OR) Grab MID Logs option available in the MID Server Page in any SN Instance
- On-Demand Pattern Debug – If at all the above options aren’t helping then the user can create Cloud Service Account manually and Debug the respective pattern i.e., either Account Validation / Sub Account Discovery / Datacenter Discovery. This way user can run on-demand specific/individual steps execution to observe the data flow.
- System Logs – Provides the stack trace information, if at all any issue encountered during the discovery run.
- Cloud API Trail – During the Cloud Discovery Schedule run, the flow goes through CAPI ("Cloud API") along with the Patterns so in that case, the information related to CAPI exists in "Cloud API Trail" which can be found via Search in the left-side navigator of the instance homepage.
Please note, the Cloud API Trail doesn't contain any response(s) or information or log(s) related to the Patterns.

- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Nicely put. Another place which I found helpful is "Cloud API Trail" when debugging cloud accounts like AWS. This is single place to troubleshoot the issue and know the steps involved in Cloud Discovery.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Sure! Thanks for the information Sandeep.
The reason why I haven't involved CAPI trail is to provide more generic data and customers are starting to migrate from CAPI to Patterns so that where major content above is related to Patterns.
Anyway, I'll update so that we don't even miss that.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Check out this video, it will clear all your doubts and help you to understand Cloud Discovery queries in details.
Link: https://www.youtube.com/watch?v=GWAvGbnCmlQ&ab_channel=ServiceNowHelpdesk
It help you to understand below points.
- Cloud Discovery
- Cloud Service Mapping vs Discovery
- Steps by step setup
- Practice with real world scenario
- Troubleshooting
- CI Class Tables and Attributes
- Amazon AWS Cloud Discovery Step by Step Configuration
- Azure Cloud Discovery Step by Step Configuration
Please mark reply as Helpful/Correct, if applicable. Thanks!!