<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Unable to read remote file in nifi by using minifi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/381817#M244424</link>
    <description>&lt;P&gt;1. My&amp;nbsp; issue is "I have to read remote file in nifi".---&amp;nbsp; 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 .&lt;/P&gt;&lt;P&gt;2.as I have nifi installed in local ,unable to install nifi in server ,I want to read&amp;nbsp; 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.&lt;/P&gt;&lt;P&gt;Thanks for your reply &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jan 2024 16:16:11 GMT</pubDate>
    <dc:creator>Sartha</dc:creator>
    <dc:date>2024-01-09T16:16:11Z</dc:date>
    <item>
      <title>Unable to read remote file in nifi by using minifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/381729#M244380</link>
      <description>&lt;P&gt;Hi Team, hoping&amp;nbsp;for the best that someone will help me out from this issue ASAP.&lt;/P&gt;&lt;P&gt;I am working with nifi in local machine from couple of months&amp;nbsp; 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&amp;nbsp; 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.&lt;/P&gt;&lt;P&gt;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)&amp;nbsp; and in the url given as "&lt;A href="http://localhost:8443/nifi" target="_blank" rel="noopener"&gt;http://localhost:8443/nifi&lt;/A&gt;" which is localhost nifi url and port number.and provided connection to tailfile processor and RPG.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sartha&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 08:47:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/381729#M244380</guid>
      <dc:creator>Sartha</dc:creator>
      <dc:date>2024-01-08T08:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read remote file in nifi by using minifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/381751#M244391</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108565"&gt;@Sartha&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103151"&gt;@cotopaul&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&amp;nbsp;who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 15:30:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/381751#M244391</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2024-01-08T15:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read remote file in nifi by using minifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/381758#M244395</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108565"&gt;@Sartha&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Let me make sure I am clear on what you have built.&lt;BR /&gt;&lt;BR /&gt;MiNiFI:&lt;BR /&gt;1. You have deployed MiNiFi on a remote server.&amp;nbsp; You built a dataflow on a NiFi install consisting of a TailFile processor feeding a Remote ProcessGroup. That flow was converted in to a yml and used in your deployed MiNifi.&lt;BR /&gt;2. The TailFile has been configured to tail some log file(s) on the remote server.&amp;nbsp; I see you said you configured it to tail nifi-app.log; however, MiNiFi does not have a nifi-app.log?&lt;BR /&gt;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.&amp;nbsp; I see you configured the RPG with an http url.&amp;nbsp; Is your NiFi install running over http or https?&amp;nbsp; Out-of-the-box apache NiFi runs secured over https.&amp;nbsp; So did you remove that security so it is running un-secure over http?&amp;nbsp; If not the RPG is not going to be able to connect to your NiFi.&amp;nbsp; 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.&amp;nbsp; &amp;nbsp;If MiNiFi is on a different server then your NiFi, "localhost" is not going to work.&amp;nbsp; If it is on same server, what is the point of using MiNiFi?&lt;BR /&gt;&lt;BR /&gt;NiFi:&lt;BR /&gt;1. Is your NiFi a&amp;nbsp; multi-node cluster setup or single standalone instance?&amp;nbsp; If it is a single standalone instance you would probably be better off building a different flow between your MiNiFi and NiFi. (MiNiFi: TailFile --&amp;gt; PostHTTP or InvokeHTTP.&amp;nbsp; NiFI: ListenHTTP --&amp;gt; other processors).&amp;nbsp; If it is a NiFi cluster stick with RPG as it will distribute FlowFiles across all nodes.&amp;nbsp; NOTE: With the postHTTP or InvokeHTTP to ListenHTTP dataflow, security is handled directly via the configuration of those processors, so it can be used without needing to care if MiNiFi and/or NiFi is secured or not.&lt;BR /&gt;2. If your NiFi is secure, what NiFi authorizer are you using? Out-of-the-box Nifi uses a Single-User authentication provider and Single-user-Authorizer.&amp;nbsp; These out of the providers do not support setting up additional clients/users authorizations so will not support RPGs.&amp;nbsp; &amp;nbsp;So first you would to need to change to a different authorizer like FIle-authorizer.&amp;nbsp; Secured communication between MiNiFi RPG and NiFi's Remote Input Port will require authentication (handle via mutual TLS exchange)&amp;nbsp; and authorization (handled by NiFi authorizer).&amp;nbsp; &amp;nbsp;There are several authorization you would need to setup for your MiNiFi client before sending FlowFiles securely to NiFi will be possible (&lt;SPAN&gt;retrieve site-to-site details and&amp;nbsp;receive data via site-to-site).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You did not share what you are seeing in the MiNiFi logs or NiFi logs when this dataflow is running to understand the issue(s) you may be having.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you found any of the suggestions/solutions provided helped you with your issue, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on one or more of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 17:13:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/381758#M244395</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-01-08T17:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read remote file in nifi by using minifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/381785#M244406</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;for your response&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;2. The TailFile has been configured to tail some log file(s) on the remote server.&amp;nbsp; 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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&amp;nbsp; I see you configured the RPG with an http url.&amp;nbsp; Is your NiFi install running over http or https?&amp;nbsp; Out-of-the-box apache NiFi runs secured over https.&amp;nbsp; So did you remove that security so it is running un-secure over http?&amp;nbsp; If not the RPG is not going to be able to connect to your NiFi.&amp;nbsp; 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.&amp;nbsp; &amp;nbsp;If MiNiFi is on a different server then your NiFi, "localhost" is not going to work.&amp;nbsp; If it is on same server, what is the point of using MiNiFi?_-------my nifi install is running over http.&lt;/SPAN&gt;&lt;BR /&gt;----&amp;gt;I followed Apache MiNiFi administration Guide ,but still it doesn't worked&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1.Nifi is running on localhost and minifi is installed on server .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.my task is how to read remote files in Nifi??----- could you please provide me solution for this it would be helpful&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Even my task is also similar as you provided solution earlier to one question "Pull logs from a remote server to nifi"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please provide me clear steps of processor flow with configuration of every processor in detail&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 10:01:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/381785#M244406</guid>
      <dc:creator>Sartha</dc:creator>
      <dc:date>2024-01-09T10:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read remote file in nifi by using minifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/381810#M244420</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108565"&gt;@Sartha&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I am very confused on your use case.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;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.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are just trying to tail the nifi-app.log, what do you need MiNiFi for here...&lt;BR /&gt;&lt;BR /&gt;Let step back and just get a clear understanding of yoru use case.&amp;nbsp; What are you trying to accomplish?&amp;nbsp; Remove NiFi from the equation and define your use case.&lt;BR /&gt;i.e - I have server1 and server2, I have some service running on server 2 writing log files.&amp;nbsp; I want to read those logs as they are being written to and send that log output to server 1. etc...&amp;nbsp; As more detail the better.&lt;BR /&gt;&lt;BR /&gt;As far as processors go, there is detailed documentation for each one.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/" target="_blank" rel="noopener"&gt;https://nifi.apache.org/docs/nifi-docs/&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Understanding which NiFi components you need to use starts with a detailed use case.&lt;BR /&gt;I am still not clear on your use case and where MiNiFi fist in to it if you are trying to tail the nifi-app.log.&amp;nbsp; Tailing the nifi-app.log implies you have nifi runing on the server where the nifi-app.log is being written to,&amp;nbsp; thus you could just use NiFi to tail its own nifi-app.log.&amp;nbsp; But why do this?&amp;nbsp; What are you trying to capture from nifi-app.log?&amp;nbsp; What are planning to so with this log output once you tail it?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 15:25:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/381810#M244420</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-01-09T15:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read remote file in nifi by using minifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/381817#M244424</link>
      <description>&lt;P&gt;1. My&amp;nbsp; issue is "I have to read remote file in nifi".---&amp;nbsp; 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 .&lt;/P&gt;&lt;P&gt;2.as I have nifi installed in local ,unable to install nifi in server ,I want to read&amp;nbsp; 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.&lt;/P&gt;&lt;P&gt;Thanks for your reply &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 16:16:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/381817#M244424</guid>
      <dc:creator>Sartha</dc:creator>
      <dc:date>2024-01-09T16:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read remote file in nifi by using minifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/381924#M244451</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108565"&gt;@Sartha&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I think i may now be understanding the confusion here. MiNiFi does not alter in any way the functionality of the components (NiFi processor, controller services, etc).&amp;nbsp; They all function exactly as they do in NiFi.&lt;BR /&gt;&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;Neither NiFi or MiNiFi can tail a log file located on another server.&amp;nbsp; The&amp;nbsp;&lt;A class="component-link" href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.24.0/org.apache.nifi.processors.standard.TailFile/index.html" target="_self"&gt;TailFile&lt;/A&gt;&amp;nbsp;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.&amp;nbsp; MiNiFi installed on that server would then be able to transfer the generated FlowFile over the network to your NiFi running on your local machine.&lt;BR /&gt;&lt;BR /&gt;MiNiFi is essentially NiFi without the UI (few other differences).&lt;BR /&gt;&lt;BR /&gt;Either NiFi or MiNiFi would need to be installed in that server.&lt;/P&gt;&lt;P&gt;If you found any of the suggestions/solutions provided helped you with your issue, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on one or more of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 21:23:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/381924#M244451</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-01-10T21:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read remote file in nifi by using minifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/382250#M244522</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Neither NiFi or MiNiFi can tail a log file located on another server.&amp;nbsp; The&amp;nbsp;&lt;/SPAN&gt;&lt;A class="component-link" href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.24.0/org.apache.nifi.processors.standard.TailFile/index.html" target="_self" rel="nofollow noopener noreferrer"&gt;TailFile&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;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.&amp;nbsp; MiNiFi installed on that server would then be able to transfer the generated Flow File&amp;nbsp;over the network to your NiFi running on your local machine_---------- what you said here is exactly I required.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Installed MiNiFi in server and NiFi in local machine I want to tail files&amp;nbsp;from server to local .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So please provide me the clear steps of how to tail files from server to local .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Sartha.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 05:53:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/382250#M244522</guid>
      <dc:creator>Sartha</dc:creator>
      <dc:date>2024-01-16T05:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read remote file in nifi by using minifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/382328#M244553</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108565"&gt;@Sartha&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Your MiNiFi needs a simple dataflow that consists of a &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.24.0/org.apache.nifi.processors.standard.TailFile/index.html" target="_blank"&gt;TailFile&lt;/A&gt; processor and then either a &lt;A href="https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#configure-site-to-site-client-nifi-instance" target="_blank"&gt;Remote Process Group (RPG)&lt;/A&gt;&amp;nbsp; (recommended if your NiFi is a multi-node cluster, but can be used with single instance NiFi as well.) or a &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.24.0/org.apache.nifi.processors.standard.PostHTTP/index.html" target="_blank"&gt;PostHTTP&lt;/A&gt; processor (Use if NiFi a single instance and not a cluster).&amp;nbsp; Neither the RPG not the PostHTTP can be configured with a target URL with "localhost".&amp;nbsp; Localhost would be the MiNiFi server.&amp;nbsp; It needs to be the hostname of the server where your NiFi is running.&amp;nbsp; Make sure if using RPG, you have configured the &lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#site_to_site_properties" target="_self"&gt;Site-to-Site&lt;/A&gt; properties in the nifi.properties file.&lt;BR /&gt;&lt;BR /&gt;Your NiFi would need a &lt;A href="https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#configure-site-to-site-server-nifi-instance" target="_blank"&gt;Remote Input Port&lt;/A&gt; (this is what your MiNiFi RPG will transmit FlowFiles to) or a &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.24.0/org.apache.nifi.processors.standard.ListenHTTP/index.html" target="_blank"&gt;ListenHTTP&lt;/A&gt; processor (if you used PostHTTP on your MiNiFi, this is what it can be configured to send to).&amp;nbsp; The outbound connection from either of these components needs to feed whatever downstream processors you need to do within NiFi.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you found any of the suggestions/solutions provided helped you with your issue, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on one or more of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 14:58:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/382328#M244553</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-01-17T14:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read remote file in nifi by using minifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/382380#M244562</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per your guidance firstly I have taken TailFile processor and configured as below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG20240118094054~2.jpg" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39471i83462C65461939D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG20240118094054~2.jpg" alt="IMG20240118094054~2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="IMG20240118094136~3.jpg" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39476i1AFAFB149E7E3710/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG20240118094136~3.jpg" alt="IMG20240118094136~3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="IMG20240118094156~3.jpg" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39477i87C9D6BA3ADE2B91/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG20240118094156~3.jpg" alt="IMG20240118094156~3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;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&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="IMG20240118100245~3.jpg" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39478iA91C8DEE95D15C9D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG20240118100245~3.jpg" alt="IMG20240118100245~3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you guide me whether my data flow is correct,if it is wrong what needs to be changed&amp;nbsp; to execute the remote file.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sartha&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 04:53:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/382380#M244562</guid>
      <dc:creator>Sartha</dc:creator>
      <dc:date>2024-01-18T04:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read remote file in nifi by using minifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/382422#M244580</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108565"&gt;@Sartha&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;localhost means same host on which the service is running, so you can't use localhost in a postHTTP processor running on MiNiFi (host B) and expect it to sent FlowFiles to ListenHTTP running on another host (host A).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The postHTTP is going to transmit FlowFiles to another host, so why would you configure postHTTP running on your MiNiFi Host with the MiNiFi IP and port?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;in the PostHTTP url used is server hostname and port number because MiNiFi is running on this server&lt;/LI-CODE&gt;&lt;P&gt;Maybe I am just misunderstanding what you are saying in above statement.&lt;BR /&gt;&lt;BR /&gt;It also does not appear that the URL is correct. It appears to be missing the "Base path" (default contentListener) as described in the processors documentation.&lt;BR /&gt;&lt;BR /&gt;To help you out, I build this flow so I can share screenshots of how it is configured for you:&lt;BR /&gt;&lt;BR /&gt;Here is PostHTTP configuration which would be used on MiNiFi (host B):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattWho_0-1705588790866.png" style="width: 708px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39489iD09477F26407261D/image-dimensions/708x487?v=v2" width="708" height="487" role="button" title="MattWho_0-1705588790866.png" alt="MattWho_0-1705588790866.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is configuration of ListenHTTP used on the NiFi instance (host A) that will receive FlowFiles from above PostHTTP on your MiNiFi (host B):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattWho_1-1705588906424.png" style="width: 700px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39490i69894538F0F0059B/image-dimensions/700x485?v=v2" width="700" height="485" role="button" title="MattWho_1-1705588906424.png" alt="MattWho_1-1705588906424.png" /&gt;&lt;/span&gt;&lt;BR /&gt;In my configuration I used port 9933, but you can use any unused non privileged port available on your NiFi instance (host A).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also still confused by your screenshots with regards to below:&lt;BR /&gt;&lt;BR /&gt;Image 1 of the tailFile processor.&amp;nbsp; This the processor that is feeding the PostHTTP processor on the MiNiFi&amp;nbsp; instance installed on (host B), correct?&amp;nbsp; You configured it to tail a nifi-app.log (which is not configured with the absolute path) which is generated by NiFi (host A).&amp;nbsp; &amp;nbsp;As I mentioned before, the tailFile processor can not tail a file located on a different host form where the tailFile is executing).&lt;BR /&gt;&lt;BR /&gt;Image 3 showing dataflow. Why is ListenHTTP success relationship connected to PostHTTP?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattWho_2-1705589638751.png" style="width: 691px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39491iDC663AC61F2E5229/image-dimensions/691x781?v=v2" width="691" height="781" role="button" title="MattWho_2-1705589638751.png" alt="MattWho_2-1705589638751.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you found any of the suggestions/solutions provided helped you with your issue, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on one or more of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 14:54:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/382422#M244580</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-01-18T14:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read remote file in nifi by using minifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/382476#M244602</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per the above screenshots I have configured tailfile processor as below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="IMG20240119181010~2.jpg" style="width: 200px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39505i460C81629F7E3538/image-size/small?v=v2&amp;amp;px=200" role="button" title="IMG20240119181010~2.jpg" alt="IMG20240119181010~2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nextly connected tailfile with PostHTTP and configured as below as provided hostname of nifi and port of nifi url&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="IMG20240119181101~2.jpg" style="width: 200px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39506i57B23CB67E0C403F/image-size/small?v=v2&amp;amp;px=200" role="button" title="IMG20240119181101~2.jpg" alt="IMG20240119181101~2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;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.&lt;/P&gt;&lt;P&gt;Thanks for all the help&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sartha&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 13:02:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/382476#M244602</guid>
      <dc:creator>Sartha</dc:creator>
      <dc:date>2024-01-19T13:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read remote file in nifi by using minifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/382489#M244607</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108565"&gt;@Sartha&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You are still not using the correct URL in your postHTTP as I stated in last response:&lt;BR /&gt;It needs to be based on what you shared in yoru last response:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;http://10.73.121.84:5026/contentListner&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;The ListenHTTP processor defines the "Base Path" on which it is listening for inbound connections.&amp;nbsp; The default value is "contentListener".&amp;nbsp; So the PostHTTP needs to post to that Base Path.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you found any of the suggestions/solutions provided helped you with your issue, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on one or more of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 18:15:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/382489#M244607</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-01-19T18:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read remote file in nifi by using minifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/382730#M244668</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108565"&gt;@Sartha&lt;/a&gt;,&amp;nbsp;Did&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;'s responses assist in resolving your query? If it did, kindly mark the relevant reply as the solution, as it will aid others in locating the answer more easily in the future.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 08:47:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/382730#M244668</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2024-01-25T08:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read remote file in nifi by using minifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/382965#M244763</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed the flow as per your guidance but still it doesn't worked.&lt;/P&gt;&lt;P&gt;Even tried of following as Administration Guide of Apache MINIFI.that wasn't worked.&lt;/P&gt;&lt;P&gt;Is there any other way that to configure this issue.&lt;/P&gt;&lt;P&gt;Thank you soo much for all the support.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sartha&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 12:41:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/382965#M244763</guid>
      <dc:creator>Sartha</dc:creator>
      <dc:date>2024-02-01T12:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read remote file in nifi by using minifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/383005#M244793</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108565"&gt;@Sartha&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I don't know how to respond to "&lt;SPAN&gt;I followed the flow as per your guidance but still it doesn't worked."&lt;BR /&gt;&lt;BR /&gt;The flow I provided works.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;What exceptions/errors are you encountering?&lt;BR /&gt;You have not provided much detail on what you are seeing exception/issue wise.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 14:44:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-read-remote-file-in-nifi-by-using-minifi/m-p/383005#M244793</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-02-01T14:44:54Z</dc:date>
    </item>
  </channel>
</rss>

