You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
2022-07-23 01:19:14,188 - WatchAD - INFO - put template "dc_log_template" ...
Traceback (most recent call last):
File "WatchAD.py", line 159, in
main()
File "WatchAD.py", line 145, in main
install(domain=options.domain, server=options.server, user=options.username, password=options.password)
File "WatchAD.py", line 31, in install
init_es_template()
File "/root/WatchAD/scripts/init_settings.py", line 41, in init_es_template
es.put_template(name=name, body=temp)
File "/root/WatchAD/tools/database/ElsaticHelper.py", line 71, in put_template
return self.es.indices.put_template(name=name, body=body, create=True, **kwargs)
File "/usr/local/lib/python3.6/site-packages/elasticsearch/_sync/client/utils.py", line 414, in wrapped
return api(*args, **kwargs)
TypeError: put_template() got an unexpected keyword argument 'template'
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
2022-07-23 01:19:14,188 - WatchAD - INFO - put template "dc_log_template" ...
Traceback (most recent call last):
File "WatchAD.py", line 159, in
main()
File "WatchAD.py", line 145, in main
install(domain=options.domain, server=options.server, user=options.username, password=options.password)
File "WatchAD.py", line 31, in install
init_es_template()
File "/root/WatchAD/scripts/init_settings.py", line 41, in init_es_template
es.put_template(name=name, body=temp)
File "/root/WatchAD/tools/database/ElsaticHelper.py", line 71, in put_template
return self.es.indices.put_template(name=name, body=body, create=True, **kwargs)
File "/usr/local/lib/python3.6/site-packages/elasticsearch/_sync/client/utils.py", line 414, in wrapped
return api(*args, **kwargs)
TypeError: put_template() got an unexpected keyword argument 'template'
The text was updated successfully, but these errors were encountered: