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

Disable analyzer in configuration file #32

Closed
jeromeleonard opened this issue May 29, 2017 · 3 comments
Closed

Disable analyzer in configuration file #32

jeromeleonard opened this issue May 29, 2017 · 3 comments
Assignees
Milestone

Comments

@jeromeleonard
Copy link
Contributor

Have a way to disable analyzers in application.conf instead of remove analyzers folders after update.

Possible Solutions

add the list in /etc/cortex/application.conf :

[..]
analyzers {
    config {
        [..]
    }
    disabled = [
        analyzer_name_1,
        analyzer_name_4,
        analyzer_name_12,
        analyzer_name_N
    ]
    
    }
[..]
@saadkadhi
Copy link
Contributor

saadkadhi commented May 29, 2017 via email

@nadouani
Copy link
Contributor

@saad don't forget that several analyzer might share the same config key in application.conf file. Think of PassiveTotal or DomainTools set of analyzers

@saadkadhi saadkadhi added this to the 1.1.4 milestone Jul 26, 2017
@To-om To-om closed this as completed Sep 13, 2017
@ghost
Copy link

ghost commented Mar 28, 2018

Solution works perfectly.

Please note that the analyzer name needs to match the output from the following command:
grep 'Register analyzer' /var/log/cortex/application.log | sed -e 's/.*(\([0-9a-zA-Z_]\+\))$/\1/' | sort -u

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