Invalid pagerduty account name missing required – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 6.8-6.8

Briefly, this error occurs when Elasticsearch’s alerting feature, specifically the PagerDuty integration, is misconfigured. The error indicates that the required account details for PagerDuty are missing or incorrect. To resolve this issue, you should verify the account details in the Elasticsearch configuration. Ensure that the account name is correct and all required fields are filled. If the problem persists, you may need to reconfigure the PagerDuty integration or check for updates or changes in the PagerDuty API.

This guide will help you check for common problems that cause the log ” invalid pagerduty account [” + name + “]. missing required [ ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.

Log Context

Log “invalid pagerduty account [” + name + “]. missing required [” class name is We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 private static String getServiceKey(String name; Settings accountSettings; Settings serviceSettings) {
 String serviceKey = accountSettings.get(SERVICE_KEY_SETTING; serviceSettings.get(SERVICE_KEY_SETTING; null));
 if (serviceKey == null) {
 SecureString secureString = SECURE_SERVICE_API_KEY_SETTING.get(accountSettings);
 if (secureString == null || secureString.length() < 1) {
 throw new SettingsException("invalid pagerduty account [" + name + "]. missing required [" + SERVICE_KEY_SETTING +
 "] setting");
 serviceKey = secureString.toString();


How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?