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
elasticsearch7.exceptions.RequestError: RequestError(400, 'invalid_index_name_exception', "Invalid index name [_watcher], must not start with '_', '-', or '+'")
#351
Open
yashwatwani opened this issue
Jan 11, 2021
· 0 comments
While running "python run_test.py --test_file monitoring_cluster_health/tests/test1.json"
I am getting this error
Unable to delete current dataset
C:\Users\yashw\AppData\Local\Continuum\anaconda3\envs\elkex\lib\site-packages\elasticsearch7\connection\base.py:193: ElasticsearchDeprecationWarning: [types removal] Specifying types in document index requests is deprecated, use the typeless endpoints instead (/{index}/_doc/{id}, /{index}/_doc, or /{index}/_create/{id}).
warnings.warn(message, category=ElasticsearchDeprecationWarning)
Traceback (most recent call last):
File "run_test.py", line 61, in
es.watcher.put_watch(id=test["watch_name"],body=watch)
File "C:\Users\yashw\AppData\Local\Continuum\anaconda3\envs\elkex\lib\site-packages\elasticsearch7\client\utils.py", line 152, in _wrapped
return func(*args, params=params, headers=headers, **kwargs)
File "C:\Users\yashw\AppData\Local\Continuum\anaconda3\envs\elkex\lib\site-packages\elasticsearch7\client\watcher.py", line 160, in put_watch
body=body,
File "C:\Users\yashw\AppData\Local\Continuum\anaconda3\envs\elkex\lib\site-packages\elasticsearch7\transport.py", line 392, in perform_request
raise e
File "C:\Users\yashw\AppData\Local\Continuum\anaconda3\envs\elkex\lib\site-packages\elasticsearch7\transport.py", line 365, in perform_request
timeout=timeout,
File "C:\Users\yashw\AppData\Local\Continuum\anaconda3\envs\elkex\lib\site-packages\elasticsearch7\connection\http_urllib3.py", line 269, in perform_request
self._raise_error(response.status, raw_data)
File "C:\Users\yashw\AppData\Local\Continuum\anaconda3\envs\elkex\lib\site-packages\elasticsearch7\connection\base.py", line 316, in _raise_error
status_code, error_message, additional_info
elasticsearch7.exceptions.RequestError: RequestError(400, 'invalid_index_name_exception', "Invalid index name [watcher], must not start with '', '-', or '+'")
The text was updated successfully, but these errors were encountered:
While running "python run_test.py --test_file monitoring_cluster_health/tests/test1.json"
I am getting this error
Unable to delete current dataset
C:\Users\yashw\AppData\Local\Continuum\anaconda3\envs\elkex\lib\site-packages\elasticsearch7\connection\base.py:193: ElasticsearchDeprecationWarning: [types removal] Specifying types in document index requests is deprecated, use the typeless endpoints instead (/{index}/_doc/{id}, /{index}/_doc, or /{index}/_create/{id}).
warnings.warn(message, category=ElasticsearchDeprecationWarning)
Traceback (most recent call last):
File "run_test.py", line 61, in
es.watcher.put_watch(id=test["watch_name"],body=watch)
File "C:\Users\yashw\AppData\Local\Continuum\anaconda3\envs\elkex\lib\site-packages\elasticsearch7\client\utils.py", line 152, in _wrapped
return func(*args, params=params, headers=headers, **kwargs)
File "C:\Users\yashw\AppData\Local\Continuum\anaconda3\envs\elkex\lib\site-packages\elasticsearch7\client\watcher.py", line 160, in put_watch
body=body,
File "C:\Users\yashw\AppData\Local\Continuum\anaconda3\envs\elkex\lib\site-packages\elasticsearch7\transport.py", line 392, in perform_request
raise e
File "C:\Users\yashw\AppData\Local\Continuum\anaconda3\envs\elkex\lib\site-packages\elasticsearch7\transport.py", line 365, in perform_request
timeout=timeout,
File "C:\Users\yashw\AppData\Local\Continuum\anaconda3\envs\elkex\lib\site-packages\elasticsearch7\connection\http_urllib3.py", line 269, in perform_request
self._raise_error(response.status, raw_data)
File "C:\Users\yashw\AppData\Local\Continuum\anaconda3\envs\elkex\lib\site-packages\elasticsearch7\connection\base.py", line 316, in _raise_error
status_code, error_message, additional_info
elasticsearch7.exceptions.RequestError: RequestError(400, 'invalid_index_name_exception', "Invalid index name [watcher], must not start with '', '-', or '+'")
The text was updated successfully, but these errors were encountered: