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

400 with Kibana 6.4? #12

Open
Jeeppler opened this issue Apr 5, 2019 · 3 comments
Open

400 with Kibana 6.4? #12

Jeeppler opened this issue Apr 5, 2019 · 3 comments

Comments

@Jeeppler
Copy link

Jeeppler commented Apr 5, 2019

400 with Kibana 6.4

data.kibana_index.main: data.kibana_index.main: Status: 400, {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"the parameter [fields] is no longer supported, please use [stored_fields] to retrieve stored fields or [_source] to load the field from _source"}],"type":"illegal_argument_exception","reason":"the parameter [fields] is no longer supported, please use [stored_fields] to retrieve stored fields or [_source] to load the field from _source"},"status":400}

Resource

data "kibana_index" "main" {
  filter = {
    name = "title"
    values = ["testing-testing-metricbeat-*"]
  }
}

Affected Resource(s)

data.kibana_index

Terraform Version

Terraform v0.11.13
+ provider.kibana v0.6.2

@ewilde
Copy link
Owner

ewilde commented Apr 5, 2019

Thank you for raising this issue

@Jeeppler what is your full kibana version 6.4.?

@Jeeppler
Copy link
Author

Jeeppler commented Apr 5, 2019

I use AWS ElasticSearch Service version 6.4. I searched how to get the version without any success. Maybe you know how to get the Kibana version?

@YaroslavJanrain
Copy link
Contributor

@Jeeppler try to find Kibana version in Management menu tab and set it in kibana_version parameter of provider settings:

provider "kibana" {
  version        = "~> 0.7.1"
  kibana_version = "${local.kibana_version}"
  kibana_uri     = "${local.kibana_uri}"
}

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

3 participants