<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Logs are used for so many things.
Auditing, security, post incident analysis, live alerting (SIEM)
and others. It is for this reason that I believe that all raw log
data should be saved.<br>
<br>
Adding to the discussion about metadata...<br>
<br>
We add metadata from a variety of sources.<br>
<br>
1. The syslog line itself. We parse EVERY log message to identify
specific data and context. For example, a login identifier is
often used in an email address, but in the context of an e-mail
address, it is NOT a login identifier. This enables data mining on
login identifiers without having to further filer out e-mail
messages. We populate hundreds of metadata elements this way. tape
volumes, database instances, login, uid, gid, disk drive names,
logical volume names, FRU components in hardware monitoring. The
list is huge.<br>
<br>
2. Incident details. During the parsing of EVERY log message,
specific messages are identified as messages that should be
alerted on. Metadata is added that contains incident description,
URL to resolution documentation, severity of the incident and
details on minimizing false positives. For example, a repeating
log message may only be an incident if it repeats at a defined
rate over a defined duration. All of this data is used to produce
alerts to SMS, email, ticketing system.<br>
<br>
3. Inventory management system. We add metadata for tiers of
service. We have test, dev, preprod and prod. We also add business
application names such as database instance (SID), Facilities
management, workflow, MSExchange, listserver etc.<br>
<br>
4. Business responsibility matrix. For each host/application there
is a group that is responsible for the service. this metadata is
added so that when alerts need to be sent the alerting subsystem
can determine where to send the alert. It does this based on this
responsibility matrix and data from #2.<br>
<br>
<br>
All of this metadata gets placed into elasticsearch so we can
start to mine the data by asking questions like:<br>
<br>
- show all of the activity by user XXX in service Y in the
preproduction tier on linux hosts.<br>
- show all of the incidents for host HHH that group GGG is
responsible for fixing.<br>
- which service is responsible for the large increase in error
class syslog lines, and in which tier of service did they occur.<br>
<br>
The metadata is the power that drives this, and without the real
time high performance pattern matching it just can't be done.<br>
<br>
Evan.<br>
<br>
<br>
On 04/28/2016 06:23 AM, Scot Needy wrote:<br>
</div>
<blockquote
cite="mid:FD66A060-5476-44B8-AC13-7311D73DD294@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div class="">We save all log data and compress/dedup hourly. For
an enterprise of about 5000 servers this averages about 200GB. </div>
<div class="">Some PCI compartments are special have backup and
retention policies for compliance. </div>
<div class=""><br class="">
</div>
<div class="">Archiving raw log data also gives us data to
re-parse should the patterns need to be updated. </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Apr 28, 2016, at 7:23 AM, Czanik, Péter <<a
moz-do-not-send="true"
href="mailto:peter.czanik@balabit.com" class=""><a class="moz-txt-link-abbreviated" href="mailto:peter.czanik@balabit.com">peter.czanik@balabit.com</a></a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">
<div class="">Hi,<br class="">
</div>
<br class="">
I was asking, because up until now I recall a single
syslog-ng user, who told me, that he saves all log
messages. On the other hand I keep receiving (marketing)
e-mails, that no logs should be discarded, everything
should be saved. And sometimes I receive the same
feedback from the Big Data world: we have enough disk
space, why to do any filtering. So I'd be interested to
learn from real world experiences, if filtering is
really old fashioned or is there any situation
(compliance requirement, endless storage, etc.) when you
really save all log messages.<br class="">
<br class="">
</div>
Bye,<br class="">
</div>
<div class="gmail_extra"><br class="" clear="all">
<div class="">
<div class="gmail_signature">Peter Czanik (CzP) <<a
moz-do-not-send="true"
href="mailto:peter.czanik@balabit.com"
target="_blank" class=""><a class="moz-txt-link-abbreviated" href="mailto:peter.czanik@balabit.com">peter.czanik@balabit.com</a></a>><br
class="">
Balabit / syslog-ng upstream<br class="">
<a moz-do-not-send="true"
href="http://czanik.blogs.balabit.com/"
target="_blank" class="">http://czanik.blogs.balabit.com/</a><br
class="">
<a moz-do-not-send="true"
href="https://twitter.com/PCzanik" target="_blank"
class="">https://twitter.com/PCzanik</a></div>
</div>
<br class="">
<div class="gmail_quote">On Thu, Apr 28, 2016 at 11:11 AM,
Fabien Wernli <span dir="ltr" class=""><<a
moz-do-not-send="true" href="mailto:wernli@in2p3.fr"
target="_blank" class=""><a class="moz-txt-link-abbreviated" href="mailto:wernli@in2p3.fr">wernli@in2p3.fr</a></a>></span>
wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span
class="">On Thu, Apr 28, 2016 at 11:06:07AM +0200,
Czanik, Péter wrote:<br class="">
> One of the major strengths of syslog-ng is
message filtering, which<br class="">
> facilitates message routing and discarding
useless log messages. OTOH I<br class="">
> often read, that we have now all the
technologies and storage to keep all<br class="">
> logs. What do you think?<br class="">
<br class="">
</span>I would go further: we now have the means to
add relevant metadata to all the events,<br class="">
which in turn allows us to do targeted archiving.<br
class="">
<br class="">
<br class="">
______________________________________________________________________________<br
class="">
Member info: <a moz-do-not-send="true"
href="https://lists.balabit.hu/mailman/listinfo/syslog-ng"
rel="noreferrer" target="_blank" class="">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br
class="">
Documentation: <a moz-do-not-send="true"
href="http://www.balabit.com/support/documentation/?product=syslog-ng"
rel="noreferrer" target="_blank" class="">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br
class="">
FAQ: <a moz-do-not-send="true"
href="http://www.balabit.com/wiki/syslog-ng-faq"
rel="noreferrer" target="_blank" class="">http://www.balabit.com/wiki/syslog-ng-faq</a><br
class="">
<br class="">
<br class="">
</blockquote>
</div>
<br class="">
</div>
______________________________________________________________________________<br
class="">
Member info: <a moz-do-not-send="true"
href="https://lists.balabit.hu/mailman/listinfo/syslog-ng"
class="">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br
class="">
Documentation: <a moz-do-not-send="true"
href="http://www.balabit.com/support/documentation/?product=syslog-ng"
class="">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br
class="">
FAQ: <a moz-do-not-send="true"
href="http://www.balabit.com/wiki/syslog-ng-faq" class="">http://www.balabit.com/wiki/syslog-ng-faq</a><br
class="">
<br class="">
</div>
</blockquote>
</div>
<br class="">
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">______________________________________________________________________________
Member info: <a class="moz-txt-link-freetext" href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a>
Documentation: <a class="moz-txt-link-freetext" href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a>
FAQ: <a class="moz-txt-link-freetext" href="http://www.balabit.com/wiki/syslog-ng-faq">http://www.balabit.com/wiki/syslog-ng-faq</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="500">--
Evan Rempel <a class="moz-txt-link-abbreviated" href="mailto:erempel@uvic.ca">erempel@uvic.ca</a>
Senior Systems Administrator 250.721.7691
Data Centre Services, University Systems, University of Victoria
</pre>
</body>
</html>