15
    };

    dp.setLoggingType('DP_578141', intervalType);

    OR

    dp.setLoggingTypeInterval('DP_578141', "minutes", 15, "minimum");

2. Set on change type:

    var onChangeType =
    {
        "loggingType":"on_change",
        "tolerance":0.8
    };

    dp.setLoggingType('DP_578141', onChangeType);

    OR

    dp.setLoggingTypeOnChange('DP_578141', 0.8);

3. Set on ts change type:

    var onTsChangeType =
    {
        "loggingType":"on_ts_change"
    };

    dp.setLoggingType('DP_578141', onTs