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

Comments

Projects
None yet
5 participants
@jeromeleonard
Contributor

jeromeleonard commented May 29, 2017

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

This comment has been minimized.

Show comment
Hide comment
@saadkadhi

saadkadhi May 29, 2017

Contributor
Contributor

saadkadhi commented May 29, 2017

@nadouani

This comment has been minimized.

Show comment
Hide comment
@nadouani

nadouani May 30, 2017

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

Contributor

nadouani commented May 30, 2017

@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 Sep 13, 2017

@On3Up

This comment has been minimized.

Show comment
Hide comment
@On3Up

On3Up 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

On3Up 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