- Timestamp:
- Mar 1, 2010, 3:05:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/docs/htmldocs/manpages/eventlogadm.8.html
r368 r411 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>eventlogadm</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 5.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" title="eventlogadm"><a name="eventlogadm.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>eventlogadm — push records into the Samba event log store</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">eventlogadm</code> [<code class="option">-d</code>] [<code class="option">-h</code>] <code class="option">-o</code>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>eventlogadm</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="eventlogadm.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>eventlogadm — push records into the Samba event log store</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">eventlogadm</code> [<code class="option">-d</code>] [<code class="option">-h</code>] <code class="option">-o</code> 2 2 <code class="literal">addsource</code> 3 3 <em class="replaceable"><code>EVENTLOG</code></em> … … 7 7 <code class="literal">write</code> 8 8 <em class="replaceable"><code>EVENTLOG</code></em> 9 </p></div></div><div class="refsect1" title="DESCRIPTION"><a name="id2489354"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a class="citerefentry" href="samba.1.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(1)</span></a> suite.</p><p><code class="literal">eventlogadm</code> is a filter that accepts9 </p></div></div><div class="refsect1" lang="en"><a name="id2483376"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a class="citerefentry" href="samba.1.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(1)</span></a> suite.</p><p><code class="literal">eventlogadm</code> is a filter that accepts 10 10 formatted event log records on standard input and writes them 11 11 to the Samba event log store. Windows client can then manipulate 12 these record using the usual administration tools.</p></div><div class="refsect1" title="OPTIONS"><a name="id2489516"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term"><code class="option">-d</code></span></dt><dd><p>12 these record using the usual administration tools.</p></div><div class="refsect1" lang="en"><a name="id2483530"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term"><code class="option">-d</code></span></dt><dd><p> 13 13 The <code class="literal">-d</code> option causes <code class="literal">eventlogadm</code> to emit debugging 14 14 information. … … 32 32 </p></dd><dt><span class="term"><code class="option">-h</code></span></dt><dd><p> 33 33 Print usage information. 34 </p></dd></dl></div></div><div class="refsect1" title="EVENTLOG RECORD FORMAT"><a name="id2489631"></a><h2>EVENTLOG RECORD FORMAT</h2><p>For the write operation, <code class="literal">eventlogadm</code>34 </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2483646"></a><h2>EVENTLOG RECORD FORMAT</h2><p>For the write operation, <code class="literal">eventlogadm</code> 35 35 expects to be able to read structured records from standard 36 36 input. These records are a sequence of lines, with the record key 37 37 and data separated by a colon character. Records are separated 38 by at least one or more blank line.</p><p>The event log record field are:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>38 by at least one or more blank line.</p><p>The event log record field are:</p><div class="itemizedlist"><ul type="disc"><li><p> 39 39 <code class="literal">LEN</code> - This field should be 0, since <code class="literal">eventlogadm</code> will calculate this value. 40 </p></li><li class="listitem"><p>40 </p></li><li><p> 41 41 <code class="literal">RS1</code> - This must be the value 1699505740. 42 </p></li><li class="listitem"><p>42 </p></li><li><p> 43 43 <code class="literal">RCN</code> - This field should be 0. 44 </p></li><li class="listitem"><p>44 </p></li><li><p> 45 45 <code class="literal">TMG</code> - The time the eventlog record 46 46 was generated; format is the number of seconds since 47 47 00:00:00 January 1, 1970, UTC. 48 </p></li><li class="listitem"><p>48 </p></li><li><p> 49 49 <code class="literal">TMW</code> - The time the eventlog record was 50 50 written; format is the number of seconds since 00:00:00 51 51 January 1, 1970, UTC. 52 </p></li><li class="listitem"><p>52 </p></li><li><p> 53 53 <code class="literal">EID</code> - The eventlog ID. 54 </p></li><li class="listitem"><p>54 </p></li><li><p> 55 55 <code class="literal">ETP</code> - The event type -- one of 56 56 "INFO", 57 57 "ERROR", "WARNING", "AUDIT 58 58 SUCCESS" or "AUDIT FAILURE". 59 </p></li><li class="listitem"><p>59 </p></li><li><p> 60 60 <code class="literal">ECT</code> - The event category; this depends 61 61 on the message file. It is primarily used as a means of 62 62 filtering in the eventlog viewer. 63 </p></li><li class="listitem"><p>63 </p></li><li><p> 64 64 <code class="literal">RS2</code> - This field should be 0. 65 </p></li><li class="listitem"><p>65 </p></li><li><p> 66 66 <code class="literal">CRN</code> - This field should be 0. 67 </p></li><li class="listitem"><p>67 </p></li><li><p> 68 68 <code class="literal">USL</code> - This field should be 0. 69 </p></li><li class="listitem"><p>69 </p></li><li><p> 70 70 <code class="literal">SRC</code> - This field contains the source 71 71 name associated with the event log. If a message file is 72 72 used with an event log, there will be a registry entry 73 73 for associating this source name with a message file DLL. 74 </p></li><li class="listitem"><p>74 </p></li><li><p> 75 75 <code class="literal">SRN</code> - The name of the machine on 76 76 which the eventlog was generated. This is typically the 77 77 host name. 78 </p></li><li class="listitem"><p>78 </p></li><li><p> 79 79 <code class="literal">STR</code> - The text associated with the 80 80 eventlog. There may be more than one string in a record. 81 </p></li><li class="listitem"><p>81 </p></li><li><p> 82 82 <code class="literal">DAT</code> - This field should be left unset. 83 </p></li></ul></div></div><div class="refsect1" title="EXAMPLES"><a name="id2487492"></a><h2>EXAMPLES</h2><p>An example of the record format accepted by <code class="literal">eventlogadm</code>:</p><pre class="programlisting">83 </p></li></ul></div></div><div class="refsect1" lang="en"><a name="id2481512"></a><h2>EXAMPLES</h2><p>An example of the record format accepted by <code class="literal">eventlogadm</code>:</p><pre class="programlisting"> 84 84 LEN: 0 85 85 RS1: 1699505740 … … 104 104 my_program_to_parse_into_eventlog_records | \\ 105 105 eventlogadm SystemLogEvents 106 </pre></div><div class="refsect1" title="VERSION"><a name="id2487542"></a><h2>VERSION</h2><p>This man page is correct for version 3.0.25 of the Samba suite.</p></div><div class="refsect1" title="AUTHOR"><a name="id2487553"></a><h2>AUTHOR</h2><p> The original Samba software and related utilities were106 </pre></div><div class="refsect1" lang="en"><a name="id2481562"></a><h2>VERSION</h2><p>This man page is correct for version 3.0.25 of the Samba suite.</p></div><div class="refsect1" lang="en"><a name="id2481573"></a><h2>AUTHOR</h2><p> The original Samba software and related utilities were 107 107 created by Andrew Tridgell. Samba is now developed by the 108 108 Samba Team as an Open Source project similar to the way the
Note:
See TracChangeset
for help on using the changeset viewer.