Files
sf_databuffer/policies/llm.policies
2018-11-21 12:11:04 +01:00

85 lines
2.1 KiB
Plaintext

/* DBLM/DLLM basic configuration for data policy */
/* ======================================== */
/* Change History: */
/* */
/* OC81, 19.01.2018 */
/* The following channels shold be stored for 10 days */
/* for example,
$DEV:BASELINE_VAL
$DEV:CH1_LOSS
$DEV:CH#_LOSS_MPS
$DEV:CH#_LOSS_REL_L1
$DEV:CH#_LOSS_REL_L
$DEV:CH#_LOSS_MPS_REL_L1
$DEV:CH#_LOSS_MPS_REL_L2
$DEV:CH#_LOSS_MPS_L1
$DEV:CH#_LOSS_MPS_L2
*/
/* ------------------------------------------------------------ */
/* - override settings - */
/* - - */
/* - Each default setting will be overridden, when a better - */
/* - match (exacter match) is made. It is independant of the - */
/* - sequence in this configuration file. - */
/* ------------------------------------------------------------ */
/*
Examples for modulo settings:
"modulo":1 1 point every 10 ms (100 Hz)
"modulo":100 1 point every 1 second
"modulo":60000 1 point every 10 minutes
"modulo":3600000 1 point every 1 hour
Examples for ttl settings:
PT1M 1 minute
PT2H 2 hours
P1D 1 day
P2W 2 weeks
P1M 1 month
*/
{
"policies": [
/* OC81, 19.01.2018 */
{
"pattern":"^S.*-DLLM.*:BASELINE_VAL$",
"data_reduction":{
"default":[
{
"ttl":"P10D",
"modulo":1
}
]
}
},
{
"pattern":"^S.*-DLLM.*:LOSS_SIGNAL_RAW$",
"data_reduction":{
"default":[
{
"ttl":"P2D",
"modulo":1
}
]
}
},
{
"pattern":"^S.*-DLLM.*:CH.*_LOSS.*",
"data_reduction":{
"default":[
{
"ttl":"P10D",
"modulo":1
}
]
}
}
]
}