Skip to content

Feature Request: for multiple "AND" conditions to detect an event #12

@hz2102

Description

@hz2102

Hi,

I am new to stackstorm and ghost2logger. And nice work David to provide this package.

Just wondering if there is any way to define 2 or more patterns with and condition.
Seems like in this current version there is only one trigger.pattern can be defined.

In some cases, we need to check multiple parameters, like interfaceX with recent state up or down.
I have tried with Regex and these type of events can be detected with ghost2logger.
But attaching this event to an action, we need to extract the interface name from the syslog message. And forward this info to another module like execute ansible playbook, to change that interface configuration.

I am not sure if any other way to do this, but if it is possible using ghost2logger it would be really nice.

Regards,
hz2102

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions