8.X Python API call for data stream creation

I am trying to move to data streams and have issues with 8. x

File "/scripts/bin/test/test.py", line 49
response = es.cluster.put_component_template(name="icd6_settings", template: icd6_template )
SyntaxError: positional argument follows keyword argument

If someone has a working call for the settings, mappings, and creating a template I would greatly appreciate it.

It would really be great if the readthedocs site had working examples of each call?

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