@Override
    public boolean validate(String messageLine) {
        return messageLine.contains(pattern);
    }
validate whether a message contains specified content
inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/validator/PatternValidator.java