public void write(final String measurement, final Map<String, Object> fields, final Map<String, String> tags) {
        val point = Point.measurement(measurement).setTimestamp(Instant.now(Clock.systemUTC())).setTags(tags);
        fields.forEach((key, value) -> {
            val stringValue = String.valueOf(value);
            if (NumberUtils.isParsable(stringValue)) {
                point.setField(key, Double.parseDouble(stringValue));
            } else if (BooleanUtils.toBoolean(stringValue)) {
                point.setField(key, Boolean.parseBoolean(stringValue));
            } else {
                point.setField(key, stringValue);
            }
        });
        write(point);
    }
Write.

@param measurement the measurement
@param fields      the fields
@param tags        the tags
support/cas-server-support-influxdb-core/src/main/java/org/apereo/cas/influxdb/InfluxDbConnectionFactory.java