Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Create Saved Search alert #181

Open
bhosaleswapnil2103 opened this issue Dec 5, 2023 · 1 comment
Open

Unable to Create Saved Search alert #181

bhosaleswapnil2103 opened this issue Dec 5, 2023 · 1 comment

Comments

@bhosaleswapnil2103
Copy link

I do have Splunk cloud trail instance & I am referring below 2 links for Creating alert.

https://registry.terraform.io/providers/splunk/splunk/latest/docs

provider "splunk" {
url = "prd-p-t5l7m.splunkcloud.com"
auth_token = "xxxxxxxx"
insecure_skip_verify = true
}

https://registry.terraform.io/providers/splunk/splunk/latest/docs/resources/saved_searches

But it errors out saying

splunk_saved_searches.new-search-01: Creating...

│ Error: 404 Not Found: <!DOCTYPE html PUBLIC

with splunk_saved_searches.new-search-01,
│ on main.tf line 15, in resource "splunk_saved_searches" "new-search-01":
│ 15: resource "splunk_saved_searches" "new-search-01" {

@ojensen5115
Copy link

  1. make sure you have the REST API enabled (requires a support ticket)
  2. you'll need a port specified in your provider url (e.g. prd-p-t5l8m.splunkcloud.com:8089)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants