Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create statistics index #55

Open
y0sh188 opened this issue Aug 27, 2019 · 5 comments
Open

Create statistics index #55

y0sh188 opened this issue Aug 27, 2019 · 5 comments

Comments

@y0sh188
Copy link

y0sh188 commented Aug 27, 2019

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,

@vorband
Copy link
Member

vorband commented Aug 27, 2019

did you setup the indices? The script is located at ./misc/setup-es-indices.py

@y0sh188
Copy link
Author

y0sh188 commented Aug 27, 2019

There is no "statistics index" in "setup-es-indices.py"

@vorband
Copy link
Member

vorband commented Aug 27, 2019

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.

@y0sh188
Copy link
Author

y0sh188 commented Aug 29, 2019

I see. Is it possible to share a job script and index script?

@vorband
Copy link
Member

vorband commented Aug 29, 2019

I will check this. Not sure I can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants