How Tildes Work in PPF Files
Any tilde that appears in a PPF will be translated at the time of report publication to its assigned value. If a tilde has not been assigned a value globally, it will remain as-is. However, all tildes present in a PPF can be defined when creating a publication, so they do not have to be globally created.
Example
The example below shows how tildes can be used in a data set:
var ppf_datasets = {
data: {
voipqualitydata: {
plugins: ['speed', 'voip'],
last: '1',
unit: 'hour',
sid: ['~sessionid~'],
by: ~bymins~
}
},
cb: location.protocol + "//" + location.host,
thresholds: ['default'],
calendars: ['default']
}
Two tildes are specified: ~sessionid~ and ~bymins~. In this example they determine the session ID (used to identify data in the MCS database) and the time aggregate for the data set.
The values can either be set globally and/or set at the time a publication is scheduled.
For an overview of tildes and how they can be used, see the Tildes page.

