Re: [BEHAVE] SYSLOG strategy for organizing NAT logging event parameters

"Reinaldo Penno (repenno)" <repenno@cisco.com> Fri, 03 May 2013 01:58 UTC

Return-Path: <repenno@cisco.com>
X-Original-To: behave@ietfa.amsl.com
Delivered-To: behave@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9230921F90D2 for <behave@ietfa.amsl.com>; Thu, 2 May 2013 18:58:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kNatGQb3IWks for <behave@ietfa.amsl.com>; Thu, 2 May 2013 18:57:55 -0700 (PDT)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) by ietfa.amsl.com (Postfix) with ESMTP id BDF0921F9058 for <behave@ietf.org>; Thu, 2 May 2013 18:57:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2294; q=dns/txt; s=iport; t=1367546275; x=1368755875; h=from:to:subject:date:message-id:in-reply-to:content-id: content-transfer-encoding:mime-version; bh=0gnJ7UVOF/SFLXluVkdU0q/BAu4kyY1sDpaz6TjNReM=; b=WA5awv5NAxRpKJ8HyDtyLrA6LFcMwaGQNy5nckyAXQGzeukkIl4fs3tX ++jd67huZwFu2afHDa1Gb5yPGNbU9LdlqgpznHhDekrQpfQkvnoEiqkH/ jlSeP4d7nETH5U2vve0i/LyTxp57T/MI/+Pewf3XCBzVB8FhEHcaQ3Xgr g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgIFAI0Yg1GtJXHB/2dsb2JhbABSgwc3vyiBABZ0gh8BAQEEAQEBNzQdAQgYChQxBgslAgQBEgiHcgMPDLh9DYgDBIxPgiY4gnJhA5VHjXWFIYMNgic
X-IronPort-AV: E=Sophos;i="4.87,600,1363132800"; d="scan'208";a="205886680"
Received: from rcdn-core2-6.cisco.com ([173.37.113.193]) by rcdn-iport-8.cisco.com with ESMTP; 03 May 2013 01:57:55 +0000
Received: from xhc-aln-x08.cisco.com (xhc-aln-x08.cisco.com [173.36.12.82]) by rcdn-core2-6.cisco.com (8.14.5/8.14.5) with ESMTP id r431vssI004892 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 3 May 2013 01:57:54 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.96]) by xhc-aln-x08.cisco.com ([173.36.12.82]) with mapi id 14.02.0318.004; Thu, 2 May 2013 20:57:54 -0500
From: "Reinaldo Penno (repenno)" <repenno@cisco.com>
To: "Senthil Sivakumar (ssenthil)" <ssenthil@cisco.com>, Tom Taylor <tom.taylor.stds@gmail.com>, "behave@ietf.org" <behave@ietf.org>, David Harrington <ietfdbh@comcast.net>
Thread-Topic: [BEHAVE] SYSLOG strategy for organizing NAT logging event parameters
Thread-Index: AQHOR5qLxG8kIZ+LcU+tQGjun+gyWJjzA32A///SEYA=
Date: Fri, 03 May 2013 01:57:54 +0000
Message-ID: <45A697A8FFD7CF48BCF2BE7E106F060409062ADD@xmb-rcd-x04.cisco.com>
In-Reply-To: <CB1B483277FEC94E9B58357040EE5D023250E321@xmb-rcd-x15.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.13.0.110805
x-originating-ip: [10.21.84.65]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <B0AE07E148B99444A4C4E32D5C4855AB@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [BEHAVE] SYSLOG strategy for organizing NAT logging event parameters
X-BeenThere: behave@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: mailing list of BEHAVE IETF WG <behave.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/behave>, <mailto:behave-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/behave>
List-Post: <mailto:behave@ietf.org>
List-Help: <mailto:behave-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/behave>, <mailto:behave-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 May 2013 01:58:00 -0000

I agree Senthil's proposal.

On 5/2/13 10:42 PM, "Senthil Sivakumar (ssenthil)" <ssenthil@cisco.com>
wrote:

>Option b would be my preference, as it seems the most straight forward
>approach, 
>easy to understand and implement.
>
>Senthil
>
>On 5/2/13 9:07 PM, "Tom Taylor" <tom.taylor.stds@gmail.com> wrote:
>
>>In organizing the encoding for the SYSLOG approach, I need to decide how
>>to define the structured data elements. Each such element is identified
>>by an SD-ID and contains a specified set of parameters.
>>
>>I have eight events in all (including "invalid port detected"), and
>>twenty different parameters. The accounting is a little different from
>>IPFIX because some IPFIX parameters end up in the SYSLOG headers
>>instead. One parameter is common to all of the events, a few are common
>>to at least four of them, and the rest are more scattered. There may be
>>some reconciliation required when I submit the SYSLOG update.
>>
>>The question is how to define the structured data elements. Here are the
>>possibilities:
>>
>>(a) define only one structured data element, within which all parameters
>>are optional from the point of view of SYSLOG, but individual parameters
>>may be mandatory from the application point of view depending on the
>>event type. Every event would use the same structured data element.
>>
>>(b) define one structured data element per event, with mandatory and
>>optional parameters as required. The same parameter would then be
>>registered formally with IANA once for each event using it.
>>
>>(c) variation on (a): partition the parameters amongst multiple
>>structured data elements, more than one of which may be needed to make
>>up a complete event report. One possible use is to group parameters
>>relating to a given NAT type. The disadvantage is a bit longer log
>>lengths because of the additional structured data headers.
>>
>>Are there any opinions on all this? SYSLOG is defined in RFC 5424.
>>
>>Tom Taylor
>>_______________________________________________
>>Behave mailing list
>>Behave@ietf.org
>>https://www.ietf.org/mailman/listinfo/behave
>
>_______________________________________________
>Behave mailing list
>Behave@ietf.org
>https://www.ietf.org/mailman/listinfo/behave