<?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 How does the input port know which device data is coming from? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-the-input-port-know-which-device-data-is-coming/m-p/152563#M48856</link>
    <description>&lt;P&gt;Hi, i have been looking at some tutorials of Minifi. I am a little confused as to how the NiFi server knows where the data is coming from if you have multiple minifi agents sending data to the same remote process group. On the server, the input port is ingesting data from these devices, how does it tell which data came from a particular device?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 14 Dec 2016 20:40:05 GMT</pubDate>
    <dc:creator>r_young</dc:creator>
    <dc:date>2016-12-14T20:40:05Z</dc:date>
    <item>
      <title>How does the input port know which device data is coming from?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-the-input-port-know-which-device-data-is-coming/m-p/152563#M48856</link>
      <description>&lt;P&gt;Hi, i have been looking at some tutorials of Minifi. I am a little confused as to how the NiFi server knows where the data is coming from if you have multiple minifi agents sending data to the same remote process group. On the server, the input port is ingesting data from these devices, how does it tell which data came from a particular device?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 20:40:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-the-input-port-know-which-device-data-is-coming/m-p/152563#M48856</guid>
      <dc:creator>r_young</dc:creator>
      <dc:date>2016-12-14T20:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: How does the input port know which device data is coming from?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-the-input-port-know-which-device-data-is-coming/m-p/152564#M48857</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/14005/ryoung.html" nodeid="14005"&gt;@Roger Young&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Haven't played with Minifi but with Nifi in general source origin is a Flow File attribute which you can find under the Attributes tab when viewing a Flow File under the data provenance menu.&lt;/P&gt;&lt;P&gt;/Best regards, Mats&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 21:22:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-the-input-port-know-which-device-data-is-coming/m-p/152564#M48857</guid>
      <dc:creator>mjohansson</dc:creator>
      <dc:date>2016-12-14T21:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: How does the input port know which device data is coming from?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-the-input-port-know-which-device-data-is-coming/m-p/152565#M48858</link>
      <description>&lt;P&gt;ok thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 21:28:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-the-input-port-know-which-device-data-is-coming/m-p/152565#M48858</guid>
      <dc:creator>r_young</dc:creator>
      <dc:date>2016-12-14T21:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: How does the input port know which device data is coming from?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-the-input-port-know-which-device-data-is-coming/m-p/152566#M48859</link>
      <description>&lt;P&gt;There are currently a couple of options...&lt;/P&gt;&lt;P&gt;If you just want to figure out where a flow file came from for troubleshooting/debugging, then using provenance can tell you this by looking at the transit URI of the RECEIVE event.&lt;/P&gt;&lt;P&gt;If you want to make a decision somewhere in your NiFi flow based on which MiNiFi sent the flow file, then currently you would need set an attribute on the MiNiFi side like "minifi.host = ${hostname()}" in an UpdateAttribute processor, so that when it got transferred to NiFi that attribute would be there.&lt;/P&gt;&lt;P&gt;There is a pull request open to make NiFi automatically create this attribute for you when receiving the flow files via site-to-site, so basically the same info that is available on the RECEIVE event would be available in attributes:&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/NIFI-2585" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-2585&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/nifi/pull/1320" target="_blank"&gt;https://github.com/apache/nifi/pull/1320&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 22:15:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-the-input-port-know-which-device-data-is-coming/m-p/152566#M48859</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2016-12-14T22:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: How does the input port know which device data is coming from?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-the-input-port-know-which-device-data-is-coming/m-p/152567#M48860</link>
      <description>&lt;P&gt;Thank you for the reply, much appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 20:26:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-the-input-port-know-which-device-data-is-coming/m-p/152567#M48860</guid>
      <dc:creator>r_young</dc:creator>
      <dc:date>2016-12-16T20:26:47Z</dc:date>
    </item>
  </channel>
</rss>

