question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to create an elastic monitor resource

See original GitHub issue

Related command az elastic monitor create

Describe the bug Unable to create an Elastic Cloud resource from the AZ CLI. A valid value is requested for SKU (I counldn’t find information in the official documentation about possible values, the only one they show is “free_Monthly” and it doesn’t work).

To Reproduce az elastic monitor create --name "myEC" --resource-group "MyResourceGroup" --location "West US 2" --sku "free_Monthly" --user-info "{\"companyInfo\":{\"business\":\"Technology\",\"country\":\"US\",\"domain\":\"microsoft.com\",\"employeeNumber\":\"10000\",\"state\":\"WA\"},\"companyName\":\"Microsoft\",\"emailAddress\":\"alice@microsoft.com\",\"firstName\":\"Alice\",\"lastName\":\"Bob\"}" --debug

Expected behavior Return a 200 (Be able to create an Elastic Cloud resource Successfully).

Environment summary

  • elastic extension version: “0.1.0” (latest)

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kairu-mscommented, May 26, 2022

Hi @kairu-ms, I have tried creating elastic monitor resource with below az command which worked for me az elastic monitor create --name “testcli” --resource-group “rg-name” --location “West US 2” --sku “ess-monthly-consumption_Monthly” --user-info “{‘companyInfo’:{‘business’:‘Technology’,‘country’:‘US’,‘domain’:‘microsoft.com’,‘employeeNumber’:‘10000’,‘state’:‘WA’},‘companyName’:‘Microsoft’,‘emailAddress’:‘your-alias@microsoft.com’,‘firstName’:‘Alice’,‘lastName’:‘Bob’}”

Could you please recheck if its some issue with CLI or something as service is working as expected

I see. The customer don’t know which values are valid to pass into sku property. “ess-monthly-consumption_Monthly” is not appeared in swagger. The customer tried with “free_Monthly” value which is used in swagger example, however it’s not valid.

So could you please define valid enum values for sku in this swagger file. Thanks.

1reaction
kairu-mscommented, May 26, 2022

Could you try ess-monthly-consumption_Monthly?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting monitoring | Elasticsearch Guide [8.5] | Elastic
Monitoring data for some Elastic Stack nodes or instances is missing from Kibanaedit ... Symptoms: The Stack Monitoring page in Kibana does not...
Read more >
Troubleshooting Elastic - Azure Native ISV Services
In this article. Unable to create an Elastic resource; Logs not being emitted to Elastic; Purchase errors; Get support; Next steps.
Read more >
Troubleshoot instances with failed status checks
Review status check information · Create an instance recovery alarm. · If you changed the instance type to an instance built on the...
Read more >
Unable to parse response body - Opster
If your cluster is behind a reverse proxy and you have set a path prefix to access it, you need to make sure...
Read more >
The Complete Guide to the ELK Stack - Logz.io
Metricbeat will begin monitoring your server and create an Elasticsearch index which you can define in Kibana. In the next step, however, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found