Package org.jwall.web.audit.filter

Examples of org.jwall.web.audit.filter.FilterExpression


    }

    if (event != null && event.getType() == EventType.AUDIT) {
      String id = event.get(ModSecurity.TX_ID);
      log.info("tag( {}, '{}' )", id, name);
      FilterExpression f = FilterCompiler.parse("TX_ID @eq '" + id + "'");
      view.tag(f, name);
    }
  }
View Full Code Here


      return;
    }

    if (event != null && event.getType() == EventType.AUDIT) {
      log.info("tag( {}, '{}' )", event.get(ModSecurity.TX_ID), name);
      FilterExpression f = FilterCompiler.parse("TX_ID @eq '" + name
          + "'");
      view.untag(f, name);
    }
  }
View Full Code Here

  public Long count(String filterString) throws Exception {
    log.info("Counting events by filter '{}'", filterString);
    try {
      if (view != null) {
        FilterExpression filter = FilterCompiler.parse(filterString);
        Long count = view.count(filter);
        log.debug("  count is {}", count);
        return count;
      } else {
        log.debug("View is 'null'!");
View Full Code Here

TOP

Related Classes of org.jwall.web.audit.filter.FilterExpression

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.