<?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 to segericate the twitter json file based on #tag  and store into different location Using NiFi? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-segericate-the-twitter-json-file-based-on-tag-and/m-p/146540#M32401</link>
    <description>&lt;UL&gt;&lt;LI&gt;I can able to receive the twitter files as Json format from my twitter account but &lt;/LI&gt;&lt;LI&gt;i need to filter these files based on #tags (Ex, &lt;A href="https://twitter.com/hashtag/fourseasondallas?src=hash"&gt;#&lt;STRONG&gt;fourseasondallas&lt;/STRONG&gt;&lt;/A&gt;)&lt;/LI&gt;&lt;LI&gt;stored in a separate directory&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks
&lt;A href="https://twitter.com/hashtag/fourseasondallas?src=hash"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jun 2016 17:45:08 GMT</pubDate>
    <dc:creator>iyappan</dc:creator>
    <dc:date>2016-06-20T17:45:08Z</dc:date>
    <item>
      <title>How to segericate the twitter json file based on #tag  and store into different location Using NiFi?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-segericate-the-twitter-json-file-based-on-tag-and/m-p/146540#M32401</link>
      <description>&lt;UL&gt;&lt;LI&gt;I can able to receive the twitter files as Json format from my twitter account but &lt;/LI&gt;&lt;LI&gt;i need to filter these files based on #tags (Ex, &lt;A href="https://twitter.com/hashtag/fourseasondallas?src=hash"&gt;#&lt;STRONG&gt;fourseasondallas&lt;/STRONG&gt;&lt;/A&gt;)&lt;/LI&gt;&lt;LI&gt;stored in a separate directory&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks
&lt;A href="https://twitter.com/hashtag/fourseasondallas?src=hash"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 17:45:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-segericate-the-twitter-json-file-based-on-tag-and/m-p/146540#M32401</guid>
      <dc:creator>iyappan</dc:creator>
      <dc:date>2016-06-20T17:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to segericate the twitter json file based on #tag  and store into different location Using NiFi?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-segericate-the-twitter-json-file-based-on-tag-and/m-p/146541#M32402</link>
      <description>&lt;P&gt;Looks like the Twitter API puts hash tags into the following JSON:&lt;/P&gt;&lt;P&gt;"entities":
{ "hashtags":[],
    "urls":[],
    "user_mentions":[]
}&lt;/P&gt;&lt;P&gt;You could use EvaluteJsonPath to extract the value of the hashtags into FlowFile attributes, and then use RouteOnAttribute to route the ones matching your tag to a PutFile processor.&lt;/P&gt;&lt;P&gt;This blog shows an example of extracting values from the Twitter JSON and making routing decisions:&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.apache.org/nifi/entry/indexing_tweets_with_nifi_and" target="_blank"&gt;https://blogs.apache.org/nifi/entry/indexing_tweets_with_nifi_and&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 22:36:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-segericate-the-twitter-json-file-based-on-tag-and/m-p/146541#M32402</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2016-06-20T22:36:04Z</dc:date>
    </item>
  </channel>
</rss>

