[
https://issues.apache.org/jira/browse/NIFI-1939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15989185#comment-15989185
]
ASF GitHub Bot commented on NIFI-1939:
--------------------------------------
Github user bbende commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1639#discussion_r113979520
--- Diff:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ParseSyslog.java
---
@@ -57,13 +57,17 @@
@SupportsBatching
@InputRequirement(Requirement.INPUT_REQUIRED)
@Tags({"logs", "syslog", "attributes", "system", "event", "message"})
-@CapabilityDescription("Parses the contents of a Syslog message and adds
attributes to the FlowFile for each of the parts of the Syslog message")
+@CapabilityDescription("Attempts to parses the contents of a Syslog
message in accordance to RFC5424 and RFC3164 " +
+ "formats and adds attributes to the FlowFile for each of the parts
of the Syslog message." +
+ "Note: Be mindfull that RFC3164 is informational and a wide range
of different implementations are present in" +
+ " the wild. If messages fail parsing, considering using RFC5424 or
using a generic parsin processors such as " +
+ "ExtractGrok.")
@WritesAttributes({@WritesAttribute(attribute = "syslog.priority",
description = "The priority of the Syslog message."),
@WritesAttribute(attribute = "syslog.severity", description = "The
severity of the Syslog message derived from the priority."),
@WritesAttribute(attribute = "syslog.facility", description = "The
facility of the Syslog message derived from the priority."),
@WritesAttribute(attribute = "syslog.version", description = "The
optional version from the Syslog message."),
@WritesAttribute(attribute = "syslog.timestamp", description = "The
timestamp of the Syslog message."),
- @WritesAttribute(attribute = "syslog.hostname", description = "The
hostname of the Syslog message."),
+ @WritesAttribute(attribute = "syslog.hostname", description = "The
hostname or IP address of the Syslog message."),
--- End diff --
Should we update this on ListenSyslog as well since the same parsing will
be used there?
> Add the ability to parse RFC3164 IPv6 Syslog messages to ParseSyslog
> ---------------------------------------------------------------------
>
> Key: NIFI-1939
> URL: https://issues.apache.org/jira/browse/NIFI-1939
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 0.6.1
> Environment: Windows 7 Enterprise
> Reporter: ANA CLAUDIA JUSTO
> Assignee: Andre F de Miranda
>
> The parse syslog processor don't work with messages RFC3164 with IPV6.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)