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

"Senthil Sivakumar (ssenthil)" <ssenthil@cisco.com> Fri, 03 May 2013 01:42 UTC

Return-Path: <ssenthil@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 3C98921F8FF5 for <behave@ietfa.amsl.com>; Thu, 2 May 2013 18:42:22 -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 eF0kT5fmUb8r for <behave@ietfa.amsl.com>; Thu, 2 May 2013 18:42:17 -0700 (PDT)
Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) by ietfa.amsl.com (Postfix) with ESMTP id 69CAF21F9017 for <behave@ietf.org>; Thu, 2 May 2013 18:42:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1996; q=dns/txt; s=iport; t=1367545337; x=1368754937; h=from:to:subject:date:message-id:in-reply-to:content-id: content-transfer-encoding:mime-version; bh=DDNdr39cLbzh/2niLQddaaoYQ3BtUXc5yKL2jFRrgiE=; b=RWNcNmhSPNel3DArFnzgqQzfFK00dynt4WebMLtyYVhBbKTbXPFYAxXM CYsD4T4suOiZqbVlIp47S1t5vfMz76WhZN0RVFqvWqEztsdb8CIC92H23 RaUgNBhh95XqJG7aGSVzzsyLwc3/xIO9zct0MfsbPT4GTuBizbbyDguHC o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgIFAAIVg1GtJV2d/2dsb2JhbABSgwc3vyiBABZ0giEBBAEBATc0HQEIIhQxBgslAgQBEgiHcgMPDLh/DYgDBIxPgiY4gnJhA5VHjXWFIYMNgic
X-IronPort-AV: E=Sophos;i="4.87,600,1363132800"; d="scan'208";a="202914324"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by rcdn-iport-9.cisco.com with ESMTP; 03 May 2013 01:42:17 +0000
Received: from xhc-aln-x05.cisco.com (xhc-aln-x05.cisco.com [173.36.12.79]) by rcdn-core-6.cisco.com (8.14.5/8.14.5) with ESMTP id r431gHtc001564 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 3 May 2013 01:42:17 GMT
Received: from xmb-rcd-x15.cisco.com ([169.254.5.104]) by xhc-aln-x05.cisco.com ([173.36.12.79]) with mapi id 14.02.0318.004; Thu, 2 May 2013 20:42:16 -0500
From: "Senthil Sivakumar (ssenthil)" <ssenthil@cisco.com>
To: 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: AQHOR5qLu6NZrqbL+UaY0n/vMbXrT5jywGyA
Date: Fri, 03 May 2013 01:42:15 +0000
Message-ID: <CB1B483277FEC94E9B58357040EE5D023250E321@xmb-rcd-x15.cisco.com>
In-Reply-To: <51830DB7.4050201@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.3.2.130206
x-originating-ip: [10.117.198.134]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <69C9B120017EA4409BA31FF6A4168C92@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:42:22 -0000

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