Create statistics index
Hi,
I'd like to know how to create statistics index in elasticsearch. I accessed public get endpoint 'alert/getStats?' on my peba server, I got this error message.
[2019-08-27 07:24:15,157] ERROR in tpotstats: ElasticSearch error: TransportError(404, 'index_not_found_exception', 'no such index')
Thanks,
did you setup the indices? The script is located at ./misc/setup-es-indices.py
There is no "statistics index" in "setup-es-indices.py"
that's correct. Currently the statistics stuff is not in the public repo, hence you cannot use this endpoint,. There is a job script which needs to be added. I will look into this later.
I see. Is it possible to share a job script and index script?
I will check this. Not sure I can.