Fluency Metric RxFPL
Fluency's own SIEM API functions are also exposed and accessed via FPL.
RxFPL_GetMetric
- RxFPL_GetMetric(metricName, {options} )
- Load metric from rxfpl database
- from: range from
- to: range to
- order: desc | asc // default is desc
- limit: number of metrics // default is 10
- filters: search filters
function main() {
let cost = RxFPL_GetMetric("PureCloudOps.AWS.Billing.InstanceCost", {from:"-2h@h", to:"@h", filters:[{name:"lvdb-app", values:"archiveSearchV3", exclude: true}]})
return {cost}
}