<?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: Nifi to ingest syslog and convert raw message to JSON and parse message to JSON in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-to-ingest-syslog-and-convert-raw-message-to-JSON-and/m-p/338035#M232739</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/77674"&gt;@Griggsy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of using the ParseSyslog processor, try using&amp;nbsp;ParseSyslog5424, which has a closer implementation to the RFC 5424 standard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you use&amp;nbsp;ParseSyslog5424, the attributes in the structured data part of of the syslog message are parsed and added to the flowfiles as attributes. For example, the following syslog message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;35&amp;gt;1 2013-10-11T22:14:15.003Z client_machine su - - [SDID@0 utilization="high" os="linux"] 'su root' failed for joe on /dev/pts/2&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Will yield a flowfile including the following attributes:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="araujo_0-1646781582719.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33815i2A88FDBCAE701225/image-size/medium?v=v2&amp;amp;px=400" role="button" title="araujo_0-1646781582719.png" alt="araujo_0-1646781582719.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;DIV&gt;&lt;I&gt;--&lt;/I&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;I&gt;Was your question answered? Please take some time to click on "&lt;/I&gt;&lt;STRONG&gt;&lt;I&gt;Accept as Solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt;" below this post.&lt;/I&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;I&gt;If you find a reply useful, say thanks by clicking on the thumbs up button.&lt;/I&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 08 Mar 2022 23:20:19 GMT</pubDate>
    <dc:creator>araujo</dc:creator>
    <dc:date>2022-03-08T23:20:19Z</dc:date>
  </channel>
</rss>

