private String getStringValues(ProfileEvent event, ClsIdConfig idConfig) {
        byte[] bodyBytes = event.getBody();
        int msgLength = event.getBody().length;
        int contentOffset = idConfig.getContentOffset();
        if (contentOffset > 0 && msgLength >= 1) {
            return new String(bodyBytes, contentOffset, msgLength - contentOffset, Charset.defaultCharset());
        } else {
            return new String(bodyBytes, Charset.defaultCharset());
        }
    }
Parse event to {@literal List<LogItem>} format.

@param context Context of CLS sink.
@param event Event to be pares to {@literal List<LogItem>}
@return Prepared data structure to send.
inlong-sort-standalone/sort-standalone-source/src/main/java/org/apache/inlong/sort/standalone/sink/cls/DefaultEvent2LogItemHandler.java