I am using Apache NiFi to connect to a Node and run SNMP Get command. I can connect to the Node using "GetSNMP" processor and can see the SNMP attributes received from that node in logs using "LogAttribute" processor.
I want to write these attributes in a separate file on the file system. I tried with "PutFile" processor but it creates empty files.
Use AttributesToJSON and change destination in properties to flowfile-content
@Shashwat Gauro To put attributes to a file i am using AttributesToJson processor and in the properties change Destination to "flowfile-content". Attributes will be moved as contents in flowfile. then you can use putfile.