@Override
  protected void performPreFiltering() {
    try {
      queryAcceptCondition = new QueryAcceptCondition(getFilteringText());
    } catch (Exception e) {
      textField.setBackground(theme.getColor(ThemeKey.TEXT_FIELD_ERROR));
    }

  }
Use query to filter log events
olv-core/src/main/java/pl/otros/logview/filter/QueryFilter.java