Product Features
Analytics

Output Processors

11min
the analytics module makes use of built in output processors to write the results of statistical functions and kpis to a topic or database the following describes the output processors that are currently available database output processors database output overview publish all inputs to a specified db metric database output parameters parameters details database if left empty, the default database will be used measurement name of the measurement to publish typed publish typed name note the measurement parameter is a required field datahub publish processors datahub publish overview publish events from input to a specified datahub topic datahub publish parameters parameters details single topic select if there is only one topic to export topic topic name for datahub publish file write processors file write overview converts input data to specified format, and writes it to a file this can be done by either adding to the end of the file, or replacing the existing content alternatively, it can also delete the file if the "generate filename from expression" option is enabled, the filename will be evaluated as expression for example, if you want to get the filename from "path" and name" properties of incoming connection "aaa", your expression could be aaa path + aaa name + " txt" please note that static text in expressions should be put into quotes timer interval in seconds acts as a "re write file on timer" option this is useful if you want to keep generating new file names after every few intervals if "output file type" is set to value only processor will save incoming data from "value"" payload field as is if "output file type" is set to csv following options will affect output csv comma contains csv file delimiter (only first character will be used from string entered) csv header controls whether column names will be included or not csv columns from payload controls whether column names will be generated from payload csv custom columns contains comma separated list of columns names (overrides csv columns from payload !) if "output file type" is set to parquet output file will be rewritten on each incoming payload if write file method is set to "append" then last parquet buffer capacity records will be written to file file write parameters parameters details file name specifies the name of the file to which data will be written file write method determines how the data will be written to the file (e g , appending, overwriting, delete) output file type defines the format of the output file (e g , json, csv, parquet) add new line indicates whether to append a new line after each entry in the output file create directories option to automatically create any necessary directories if they do not exist generate filename from expression enables dynamic filename generation based on specified expressions time interval in seconds sets a timer for rewriting the file at specified intervals csv comma specifies the delimiter to be used in csv files; only the first character will be applied csv header controls the inclusion or exclusion of column names in the output csv file csv columns from payload determines if column names should be generated based on the incoming payload csv custom columns allows the specification of custom column names, overriding those from the payload parquet capacity defines the buffer size for records in parquet files, influencing how data is written stdout processors stdout overview just consumers that print to the console note the output is meant for support logs, not for display on the ui