Product Features
Analytics

Input Processors

8min
the analytics module makes use of built in input processors to retrieve data from a topic, database, or generator the following describes the input processors that are currently available database batch input processors database batch input overview generate events by periodically polling specified db measurements filtering you could add filtering for queries list of fields depends on database and measurement, but for device data, standard filters are datatype, device id, is device status, register id, success, tag, topic, value examples filter by tag "tag" = 'tag1' filter by tag and success "tag" = 'tag1' and "success" = 1 database batch input parameters parameters details database select the name of the database from which data will be retrieved filter specify the sql filter for the where part of the query to filter the data from the database metric name name of the metric for timeseriesdb polling period secs set the polling interval in seconds for retrieving data from the database typed define the data typed policy for processing the retrieved data datahub subscribe processors datahub subscribe overview generate events from specified datahub topic and attach to output datahub subscribe parameters parameters details format choose the format of the data, with possible values of json or fb (flat buffer) topic select the specific device and tag from which data will be collected ignore failed data (manufacturing connect edge version 3 11 0 and later) select to ignore data with the output success=false ignore null value (manufacturing connect edge version 3 11 0 and later) select to ignore data with the output value=null generator processors generator overview simple generator for testing, use t as the variable generator parameters parameters details amplitude multiplier specify the amplitude multiplier for the generated signal formula choose the supported math functions for generating the signal, such as sin, cos, tan, power, sqrt, log, exp, or abs generator type user defined signal generation or pre defined generation periodicity define the periodicity of the signal in seconds strength specify the strength of the simulated wave approximation, with the maximum value being 10 timer interval set the timer in milliseconds if no event occurs, this timer is used to keep displaying the output continually enter zero to disable the timer