File: README.csv

package info (click to toggle)
snort 2.3.2-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 22,244 kB
  • ctags: 11,282
  • sloc: ansic: 70,376; sh: 4,364; makefile: 744; perl: 478; sql: 212
file content (46 lines) | stat: -rw-r--r-- 1,379 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
SPO_CSV Usage Guide
Brian Caswell <bmc@snort.org>

$Id: README.csv,v 1.5 2004/01/15 20:38:07 jh8 Exp $



Overview:
----
The CSV output plugin gives an interface for users to specify what 
information they see for alerts.  csv provides this by outputting the
data in comma separated value format, configured by the user in the
snort configuration file.

Using limited output configurations can greatly increase the speed of 
snort.


Usage:
----
The CSV output plugin can be configured to output specific portions 
of a snort alert.

spo_csv requires the following format.

output alert_CSV: location_to_your_file fieldname,fieldname2,fieldname3


The following line is an example CSV configuration:
output csv: /my/snort.log msg,proto,timestamp,src,srcport,dst,dstport

That configuration will append the following output to /my/snort.log 
WEB-MISC phf access,TCP,02/23-11:06:59.600820 ,192.168.0.1,1021,192.168.0.2,80


Possible Field Names:
----

The following field names are available (As of 01/13/2004)

timestamp, sig_generator, sig_id, sig_rev, msg, proto, src, srcport, dst,
dstport, ethsrc, ethdst, ethlen, tcpflags, tcpseq, tcpack, tcpln, tcpwindow, ttl,
tos, id, dgmlen, iplen, icmptype, icmpcode, icmpid, icmpseq, and default

By specifying "default" as a field name, a default set of field names
is used.  `grep DEFAULT_CSV spo_csv.h` for the default set of fields