private static CasEvent extractCasEventFromPointValues(final PointValues pointValues) {
        val event = new CasEvent();
        event.assignIdIfNecessary();
        val geo = Unchecked.supplier(() -> MAPPER.readValue(pointValues.getTag("geoLocation"),
                new TypeReference<GeoLocationRequest>() {
                }))
            .get();
        event.putGeoLocation(geo);
        event.setPrincipalId(pointValues.getTag("principalId"));
        event.setType(pointValues.getTag("type"));
        event.setCreationTime(Instant.ofEpochMilli(Long.parseLong(pointValues.getTag("creationTime"))));
        event.putClientIpAddress(pointValues.getTag("clientIpAddress"));
        event.putServerIpAddress(pointValues.getTag("serverIpAddress"));
        event.putEventId(pointValues.getStringField("value"));
        event.putTimestamp(Long.valueOf(Objects.requireNonNull(pointValues.getTag("timestamp"))));
        event.putTenant(pointValues.getTag("tenant"));
        return event;
    }
This is {@link InfluxDbCasEventRepository}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-events-influxdb/src/main/java/org/apereo/cas/support/events/dao/InfluxDbCasEventRepository.java