-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Fix setup.dashboards.index not working #17749
Conversation
} | ||
|
||
objects, ok := content["objects"].([]interface{}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was not a []interface{}
, causing it to silently fail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you for fixing this @adriansr!! Any chance you can add a test? |
jenkins, test this |
526aadc
to
1e4c88b
Compare
Pinging @elastic/integrations (Team:Integrations) |
3bb4477
to
a8723ec
Compare
Due to type casting nightmare, the setting of `setup.dashboards.index` configuration option to replace the index name in use for dashboards and index pattern wasn't being honored.
a8723ec
to
e3642de
Compare
The CI seems to be pretty brittle lately, but none of the failures can be attributed to this change, so I'll go ahead and merge |
Due to type casting nightmare, the setting of `setup.dashboards.index` configuration option to replace the index name in use for dashboards and index pattern wasn't being honored. Fixes elastic#14019 (cherry picked from commit 07d0c8c)
Due to type casting nightmare, the setting of `setup.dashboards.index` configuration option to replace the index name in use for dashboards and index pattern wasn't being honored. Fixes elastic#14019 (cherry picked from commit 07d0c8c)
I can't seem to get this working in 7.10 without doing a find and replace in the dashboard json files. |
I am having the same issue. This setting seems completely ignored when running |
This is the PR that addressed this in 7.7 and 7.8. |
Due to type casting nightmare, the setting of `setup.dashboards.index` configuration option to replace the index name in use for dashboards and index pattern wasn't being honored. Fixes elastic#14019 (cherry picked from commit 5000780)
Due to type casting nightmare, the
setup.dashboards.index
configuration option to replace the index name in use for dashboards and index pattern wasn't being honored, resulting inbeatname-*
always in use.Fixes: #14019