I have data pipeline in NiFi , which listen to system log and process received data and extract attributes by "ExtractText" processors Then make influx input format by "ReplaceText" and at the end insert to influxdb by "PutInflux" processor. But I get a long queue before putInflux processor because insert speed is too slower than produced data. Please help me to increase insert speed. Data PipeLine
0
votes
2 Answers
0
votes
Are you putting multiple lines into Influx at once (i.e. multiple lines in a flow file) or one line at a time? If the latter, try a MergeContent or MergeRecord before PutInfluxDB, to get multiple lines into a file. Then you won't have to pay the overhead of transmitting each line over the wire, you can put a lot of them at once.