Member since
01-02-2024
7
Posts
1
Kudos Received
0
Solutions
02-01-2024
04:41 AM
1 Kudo
@MattWho I followed the flow as per your guidance but still it doesn't worked. Even tried of following as Administration Guide of Apache MINIFI.that wasn't worked. Is there any other way that to configure this issue. Thank you soo much for all the support. Regards, Sartha
... View more
01-19-2024
05:02 AM
@MattWho As per the above screenshots I have configured tailfile processor as below Nextly connected tailfile with PostHTTP and configured as below as provided hostname of nifi and port of nifi url Still it is not working.could you please provide any link that I can go with the data flow for success relationship that to read remote file in nifi using minifi. Thanks for all the help Thanks, Sartha
... View more
01-17-2024
08:40 PM
@MattWho As per your guidance firstly I have taken TailFile processor and configured as below Next taken PostHTTP processor with below Configurations,in the PostHTTP url used is server hostname and port number because MiNiFi is running on this server and NiFi is running on localhost .correct me if I am wrong here. Nextly I have taken ListenHTTP and configured the listening port as the server port number where MiNiFi is running which is provided in PostHTTP.as below Eneded the data flow here as per your guidance ,when I ran TailFile processor it picked the log file and next when started PostHTTP processor it throwed below error Could you guide me whether my data flow is correct,if it is wrong what needs to be changed to execute the remote file. Thanks Sartha
... View more
01-15-2024
09:53 PM
@MattWho As I understand it now, your use case is to tail a file located on a different server from where NiFi or MiNiFi is installed. Correct? _--------yes you are correct ,MiNiFi is installed in server where NiFi is running in my local machine. Neither NiFi or MiNiFi can tail a log file located on another server. The TailFile processor can only tail files local to the same server on which NiFi or MiNiFi is running. So MiNiFi would need to be installed on the server where the log file exists in order to tail that file. MiNiFi installed on that server would then be able to transfer the generated Flow File over the network to your NiFi running on your local machine_---------- what you said here is exactly I required. Installed MiNiFi in server and NiFi in local machine I want to tail files from server to local . So please provide me the clear steps of how to tail files from server to local . Thank you, Sartha.
... View more
01-09-2024
08:16 AM
1. My issue is "I have to read remote file in nifi".--- for this query the solution as far i know is by using minifi we can read remote file.if yes could you please provide me the steps of data flow of how to read . 2.as I have nifi installed in local ,unable to install nifi in server ,I want to read log files from server by using minifi can we read it.if yes can you provide me the nifi processors data flow of how to read it by using tailfile processor. Thanks for your reply @MattWho .
... View more
01-08-2024
08:58 PM
Thanks @MattWho for your response 2. The TailFile has been configured to tail some log file(s) on the remote server. I see you said you configured it to tail nifi-app.log; however, MiNiFi does not have a nifi-app.log?_-------as you said is correct minifi does not have nifi-app.log,here my case is I want to read log files presented in nifi not from minifi so provided file to tail path as nifi-app.log. 3. The Remote Process Group (RPG) will be used to send the FlowFiles generated by the tailFile processor to your NiFi instance over the network. I see you configured the RPG with an http url. Is your NiFi install running over http or https? Out-of-the-box apache NiFi runs secured over https. So did you remove that security so it is running un-secure over http? If not the RPG is not going to be able to connect to your NiFi. If you want to keep your NiFi secured, you will need to configure your MiNiFi with a proper keystore and truststore that can be used to facilitate a mutual TLS connection with your secured NiFi. If MiNiFi is on a different server then your NiFi, "localhost" is not going to work. If it is on same server, what is the point of using MiNiFi?_-------my nifi install is running over http. ---->I followed Apache MiNiFi administration Guide ,but still it doesn't worked 1.Nifi is running on localhost and minifi is installed on server . 2.my task is how to read remote files in Nifi??----- could you please provide me solution for this it would be helpful Even my task is also similar as you provided solution earlier to one question "Pull logs from a remote server to nifi" Please provide me clear steps of processor flow with configuration of every processor in detail
... View more
01-07-2024
09:57 PM
Hi Team, hoping for the best that someone will help me out from this issue ASAP. I am working with nifi in local machine from couple of months to develop some jobs.now as part of developing one job I need to read remote file in nifi by using minifi,as like tailfile processor how it reads nifi log files continuously I have to read remote log files.in the process of finding solution I seen that by using minifi we can do that.so firstly I installed minifi remote server because I have to read remote log files by providing local machine path of outputfolder those log files will place in that path. After installing minifi in remote server.unzippped it and tried to start the services by using ./minifi sh start .now I could see services are started and next firstly tried to take and input port in nifi UI and connected that with putfile processor by providing output path and provided connection for input and putfile .nextly taken a processor group and inside that processor group taken tailfile processor and provided the tailing mode as single file and files to tail as "logs\nifi-app.log".and next taken a remote process group(RPG) and in the url given as "http://localhost:8443/nifi" which is localhost nifi url and port number.and provided connection to tailfile processor and RPG. Now that process group we have to Select and convert into template and again we have to download that template by using converter toolkit we have to convert file from XML to YML .I was unable to download and use converter toolkit to convert file. i tried to convert manually but that does not worked. Regards, Sartha
... View more
Labels:
- Labels:
-
Apache MiNiFi