Monitoring-Livestatus-Class

 view release on metacpan or  search on metacpan

t/20-complex_filter.t  view on Meta::CPAN

          state => { '='  => 1 },
        ],
        group => { '>=' => 'linux' }
    ],
    [   "Filter: state = 0",
        "Filter: state = 1",
        "Or: 2",
        "Filter: group >= linux",
    ],

    # cascaded query
    [
        -and => [
            -or => [
              state => { '='  => 0 },
              state => { '='  => 1 },
            ],
            group => { '>=' => 'linux' }
        ],
    ],
    [   "Filter: state = 0",



( run in 0.300 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )