Index Pattern Refresh

Hi, Im using ES 7.10.2, and Im trying to refresh index patterns within python code, I already hit some endpoints

GET api/index_patterns/_fields_for_wildcard?pattern=statsboard_logs-*&stored_fields=_source&stored_fields=_id&stored_fields=_type&stored_fields=_index&stored_fields=_score

I have a

reason" : "request [/api/index_patterns/_fields_for_wildcard] contains unrecognized parameter: [pattern]"

Is there any endpoint I can use programatically. I have the index pattern already to use

Hello @Manuel_Javier_Martin,

Welcome to the community!

You might want to consider upgrading to 7.11 since index patterns are automatically refreshed after that release.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.