Cannot connect to Elastic Search Server, check URL and credentials servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2023 04:31 AM
Hi Team,
Good day!
While integrating Elastic search with ServiceNow we are facing following issue.
"Cannot connect to Elastic Search Server, check URL and credentials servicenow"
Please help me with the solution.
Best Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2023 09:00 AM
Step-7 : Copy the created API key and paste it on Servicenow while creating API Key credentials (Step-3) . And click on Submit.
( Note : Save the API key some where for future reference. Because , it displays only one time.)
- Under Query Settings , provide index prefix and timestamp details as per the below screenshot.(Leave the remaining details as default).
Note: In above screenshot we will be having confusion what to mention
1) Index prefix - Please guide us what to provide as input
- Save and give test connection.
- Once the test connection is valid, then we will able to get logs from Elastic search.
And
Application service: Please help us with example how to create application service. Application service
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2023 09:21 PM
We are waiting for your reply. Please help us to sort out the issue.
Regards,
Haranath.J

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2023 09:51 PM
Hi
Hope u have referred this URL-
Take help from ELK team but all parameters are explained in the Docs.
Index prefix | Prefix for the Elasticsearch indices to read from. The data input reads only from indices with this prefix. This field is required. | only-read-these-indices-* |
Also refer this KB for more details-
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0822485
What is Application Service - Application service is a service type that is a logical representation of a deployed application stack. Means its the given environment (dev/prod/test) for a given Applications CI .
Application Service CIs connects with components like severs,DBs etc.
Regards
RP