Product Features
Analytics
Input Processors
12 min
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 true false 118false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type datahub subscribe processors datahub subscribe overview generate events from specified datahub topic and attach to output note when using the datahub subscribe processor, number values in your json payload are parsed as float datatype if you're working with processors like switch docid\ ifezzlax1g2rsdjncjstz , change docid\ vtr272ie jam2gcxxlod , javascript processor docid\ mdjr17s8nmtmi2jh90sm1 , or tengo script docid 2agbvhjutmfunur 9z7yw , ensure your input value and data type configurations are correct datahub subscribe parameters true false 166false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type generator processors generator overview simple generator for testing, use t as the variable generator parameters true false 166false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type inject processors inject overview generates a new message event based on the provided inputs inject parameters true false 166false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type