Re: [Syslog] Small draft for Syslog File Storage?

Simon Josefsson <simon@josefsson.org> Wed, 10 November 2010 18:25 UTC

Return-Path: <simon@josefsson.org>
X-Original-To: syslog@core3.amsl.com
Delivered-To: syslog@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9EC103A6971 for <syslog@core3.amsl.com>; Wed, 10 Nov 2010 10:25:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level:
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qOBSyU4G07H2 for <syslog@core3.amsl.com>; Wed, 10 Nov 2010 10:25:27 -0800 (PST)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 79A193A698D for <syslog@ietf.org>; Wed, 10 Nov 2010 10:25:24 -0800 (PST)
Received: from latte.josefsson.org (c80-216-27-64.bredband.comhem.se [80.216.27.64]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAAIPikR003521 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 10 Nov 2010 19:25:46 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Rainer Gerhards <rgerhards@hq.adiscon.com>
References: <9B6E2A8877C38245BFB15CC491A11DA71DD6D6@GRFEXC.intern.adiscon.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:101110:rgerhards@hq.adiscon.com::iCqVjIf8W4f9ZKyU:4eIc
X-Hashcash: 1:22:101110:syslog@ietf.org::1J18lp9pOXm5EtgS:Exq8
Date: Wed, 10 Nov 2010 19:25:50 +0100
In-Reply-To: <9B6E2A8877C38245BFB15CC491A11DA71DD6D6@GRFEXC.intern.adiscon.com> (Rainer Gerhards's message of "Wed, 10 Nov 2010 18:06:54 +0100")
Message-ID: <87vd45828h.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Virus-Scanned: clamav-milter 0.96.3 at yxa-v
X-Virus-Status: Clean
X-Mailman-Approved-At: Thu, 11 Nov 2010 08:05:48 -0800
Cc: syslog@ietf.org
Subject: Re: [Syslog] Small draft for Syslog File Storage?
X-BeenThere: syslog@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Security Issues in Network Event Logging <syslog.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/syslog>, <mailto:syslog-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/syslog>
List-Post: <mailto:syslog@ietf.org>
List-Help: <mailto:syslog-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/syslog>, <mailto:syslog-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Nov 2010 18:25:29 -0000

"Rainer Gerhards" <rgerhards@hq.adiscon.com> writes:

> Hi Simon,
>
> it looks like I accidently deleted you mail while being on the phone. So I
> can not directly reply to it.
>
> The idea of a mime encoding is interesting. Can you point me to a RFC where
> you did this? I would be very happy if you could care about the mime parts of
> a draft, while I provide some of the encoding that fits what I see as needs
> for CEE and many users I know (basic things like no control characters
> present, one message per text file line and so).

Hi Rainer.  I did this for DNS data, see RFC 4027.  There are some
idiosyncratic aspects of MIME that needs to be handled, but I don't see
anything that would be a show stopper for a syslog format.

Oh, and please use a timestamp format that embeds the year!  How about
the RFC 3339 format?  I hate how it is impossible to know what year a
log entry was written on modern Linux systems.

/Simon