<?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: [RESOLVED] NIFI : ListenHTTP : Header Regex in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RESOLVED-NIFI-ListenHTTP-Header-Regex/m-p/160830#M45091</link>
    <description>&lt;P&gt;I post the data using following curl command:&lt;/P&gt;&lt;P&gt;curl -H "hdfsdir:/Sandbox_Zone/Test/Landing_Zone/TestDir" -H "year:2017" -H "month:07" --data-binary "@client_mandate.csv"  &lt;A href="http://test:7000/hdfs_push" target="_blank"&gt;http://test:7000/hdfs_push&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In the ListHttp processor I have specified the following as regex to read headers:&lt;/P&gt;&lt;P&gt;hdfsdir|year|month &lt;/P&gt;&lt;P&gt;Then I correctly get the attribtues &lt;/P&gt;&lt;P&gt;as hdfsdir, year and month&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jul 2017 20:07:57 GMT</pubDate>
    <dc:creator>prasadm_deshpan</dc:creator>
    <dc:date>2017-07-20T20:07:57Z</dc:date>
    <item>
      <title>[RESOLVED] NIFI : ListenHTTP : Header Regex</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RESOLVED-NIFI-ListenHTTP-Header-Regex/m-p/160828#M45089</link>
      <description>&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;I wonder to send extract Attribute to ListenHTTP &lt;/P&gt;&lt;P&gt;Do you know how I write the rule from :&lt;/P&gt;&lt;PRE&gt;HTTP Headers to receive as Attributes (Regex) || Specifies the Regular Expression that determines the names of HTTP Headers that should be passed along as FlowFile attributes&lt;/PRE&gt;&lt;P&gt;My curl command :&lt;/P&gt;&lt;PRE&gt;curl -v --cacert nifi-cert.pem --cert ./client.p12 -X POST -H 'Content-Type: application/json' -H 'vartest1: v1' -F file=@/var/opt/hosting/log/flume/flume-a1.log.10 &lt;A href="https://nifi012:10001/contentListener" target="_blank"&gt;https://nifi012:10001/contentListener&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;How I can extract vartest1 as an attribute.&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 17:28:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/RESOLVED-NIFI-ListenHTTP-Header-Regex/m-p/160828#M45089</guid>
      <dc:creator>maykiwogno</dc:creator>
      <dc:date>2016-11-02T17:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: [RESOLVED] NIFI : ListenHTTP : Header Regex</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RESOLVED-NIFI-ListenHTTP-Header-Regex/m-p/160829#M45090</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10363/maykiwogno.html" nodeid="10363"&gt;@mayki wogno&lt;/A&gt; you should be able ot simply use the value "vartest1" (without quotes), if this is the only attribute you care about.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 21:54:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/RESOLVED-NIFI-ListenHTTP-Header-Regex/m-p/160829#M45090</guid>
      <dc:creator>mpayne</dc:creator>
      <dc:date>2016-11-02T21:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: [RESOLVED] NIFI : ListenHTTP : Header Regex</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RESOLVED-NIFI-ListenHTTP-Header-Regex/m-p/160830#M45091</link>
      <description>&lt;P&gt;I post the data using following curl command:&lt;/P&gt;&lt;P&gt;curl -H "hdfsdir:/Sandbox_Zone/Test/Landing_Zone/TestDir" -H "year:2017" -H "month:07" --data-binary "@client_mandate.csv"  &lt;A href="http://test:7000/hdfs_push" target="_blank"&gt;http://test:7000/hdfs_push&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In the ListHttp processor I have specified the following as regex to read headers:&lt;/P&gt;&lt;P&gt;hdfsdir|year|month &lt;/P&gt;&lt;P&gt;Then I correctly get the attribtues &lt;/P&gt;&lt;P&gt;as hdfsdir, year and month&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2017 20:07:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/RESOLVED-NIFI-ListenHTTP-Header-Regex/m-p/160830#M45091</guid>
      <dc:creator>prasadm_deshpan</dc:creator>
      <dc:date>2017-07-20T20:07:57Z</dc:date>
    </item>
  </channel>
</rss>

