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

[Bug] Can't Remove an Analyzer #528

Closed
b00lpy opened this issue Aug 30, 2019 · 3 comments
Closed

[Bug] Can't Remove an Analyzer #528

b00lpy opened this issue Aug 30, 2019 · 3 comments

Comments

@b00lpy
Copy link

b00lpy commented Aug 30, 2019

I'm running Cortex through Docker Container using the official image provided:
Cortex - 3.0.0-RC3
Elastic4Play - 1.11.3
Play - 2.6.23
Elastic4s - 6.5.1
ElasticSearch client - 6.5.2

I added a custom analyzer by mounting the root directory inside the /opt/Cortex-Analyzers/analyzers, but accidentally i mounted the wrong one. The problem is that now Cortex keeps showing me the name of this one even if I didn't mount the volume, and obviously it crashes because the executable doesn't actually exists.

The question is, how can I permanently remove from Cortex everything about this Analyzer?

@b00lpy b00lpy added the category:bug Issue is related to a bug label Aug 30, 2019
@RtKelleher
Copy link

Not sure the specific reason Cortex isn't removing defunct analyzers, but I found that removing the first entry in ElasticSearch for the analyzer will remove the entry in Cortex.

@jeromeleonard
Copy link
Contributor

Did you "refresh" the analyzers list in Cortex (button in the Available analyzers tab) ?

@nadouani nadouani removed the category:bug Issue is related to a bug label Dec 23, 2019
@nadouani
Copy link
Contributor

This is in fact a Cortex related bug (TheHive-Project/Cortex#234).

Sadly, The invalid analyzer have to be removed by hand from ElasticSearch.

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

No branches or pull requests

4 participants