forked from zentures/sequence
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsequence.toml
470 lines (446 loc) · 20.8 KB
/
sequence.toml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
version = "0.1"
# This flag is to mark the spaces during analysis for reconstruction of the pattern with spaces where they were
# in the original message, the default parser for sequence has this set to false, for syslog-ng set to true.
markSpaces = true
#database settings
usedatabase = true
connectioninfo = "sequence.sdb"
databasetype = "sqlite3"
# Match Threshold is the number of matches for a pattern before the pattern is included in the output pattern file.
# Types supported are "percent" and "count"
# For percent to represent 10% set threshold value to "0.1", for count use an integer value such as "50"
# To disable set to "count" and "0"
matchThresholdType = "percent"
matchThresholdValue = "0.001"
# This is useful when starting pattern analysis with live data
# Messages that fail to analyze will often bloat the database, so setting this to a number like 3
# prevents saving bad patterns, however it also prevents the saving of good patterns with a very low frequency.
saveThreshold = "2"
tags = [
"regextime:time", # The timestamp that’s part of the log message (matches the a pcre (Perl-Compatible Regular Expression) defined below) (must be at the top of this list)
"msgid:string", # The message identifier
"msgtime:time", # The timestamp that’s part of the log message (undefined format)
"severity:integer", # The severity of the event, e.g., Emergency, …
"priority:integer", # The pirority of the event
"apphost:string", # The hostname of the host where the log message is generated
"appip:ipv4", # The IP address of the host where the application that generated the log message is running on.
"appvendor:string", # The type of application that generated the log message, e.g., Cisco, ISS
"appname:string", # The name of the application that generated the log message, e.g., asa, snort, sshd
"srcdomain:string", # The domain name of the initiator of the event, usually a Windows domain
"srczone:string", # The originating zone
"srchost:string", # The hostname of the originator of the event or connection.
"srcip:ipv4", # The IPv4 address of the originator of the event or connection.
"srcuri:uri", # The uri of the originator of the event or connection.
"srcipnat:ipv4", # The natted (network address translation) IP of the originator of the event or connection.
"srcport:integer", # The port number of the originating connection.
"srcportnat:integer", # The natted port number of the originating connection.
"srcmac:mac", # The mac address of the host that originated the connection.
"srcuser:string", # The user that originated the session.
"srcuid:integer", # The user id that originated the session.
"srcgroup:string", # The group that originated the session.
"srcgid:integer", # The group id that originated the session.
"srcemail:string", # The originating email address
"dstdomain:string", # The domain name of the destination of the event, usually a Windows domain
"dstzone:string", # The destination zone
"dsthost:string", # The hostname of the destination of the event or connection.
"dstip:ipv4", # The IPv4 address of the destination of the event or connection.
"dsturi:uri", # The uri of the destination of the event or connection.
"dstipnat:ipv4", # The natted (network address translation) IP of the destination of the event or connection.
"dstport:integer", # The destination port number of the connection.
"dstportnat:integer", # The natted destination port number of the connection.
"dstmac:mac", # The mac address of the destination host.
"dstuser:string", # The user at the destination.
"dstuid:integer", # The user id that originated the session.
"dstgroup:string", # The group that originated the session.
"dstgid:integer", # The group id that originated the session.
"dstemail:string", # The destination email address
"protocol:string", # The protocol, such as TCP, UDP, ICMP, of the connection
"iniface:string", # The incoming interface
"outiface:string", # The outgoing interface
"policyid:integer", # The policy ID
"sessionid:integer", # The session or process ID
"object:string", # The object affected.
"action:string", # The action taken
"command:string", # The command executed
"method:string", # The method in which the action was taken, for example, public key or password for ssh
"status:string", # The status of the action taken
"reason:string", # The reason for the action taken or the status returned
"bytesrecv:integer", # The number of bytes received
"bytessent:integer", # The number of bytes sent
"pktsrecv:integer", # The number of packets received
"pktssent:integer", # The number of packets sent
"duration:integer" # The duration of the session
]
[analyzer]
[analyzer.prekeys]
address = [ "srchost", "srcipv4" ]
by = [ "srchost", "srcipv4", "srcuser" ]
command = [ "command" ]
connection = [ "sessionid" ]
dport = [ "dstport" ]
dst = [ "dsthost", "dstipv4" ]
duration = [ "duration" ]
egid = [ "srcgid" ]
euid = [ "srcuid" ]
for = [ "srchost", "srcipv4", "srcuser" ]
from = [ "srchost", "srcipv4", "srcuri"]
gid = [ "srcgid" ]
logname = [ "srcuser" ]
port = [ "srcport", "dstport" ]
proto = [ "protocol" ]
rhost = [ "srchost", "srcipv4" ]
ruser = [ "srcuser" ]
sport = [ "srcport" ]
src = [ "srchost", "srcipv4", "srcuri"]
time = [ "strtime", "regexonetime", "msgtime"]
to = [ "dsthost", "dstipv4", "dsturi"]
uid = [ "srcuid" ]
uname = [ "srcuser" ]
user = [ "srcuser" ]
[analyzer.keywords]
action = [
"access",
"alert",
"allocate",
"allow",
"audit",
"authenticate",
"backup",
"bind",
"block",
"build",
"built",
"cancel",
"clean",
"close",
"compress",
"connect",
"copy",
"create",
"decode",
"decompress",
"decrypt",
"depress",
"detect",
"disconnect",
"download",
"encode",
"encrypt",
"establish",
"execute",
"filter",
"find",
"finish",
"free",
"get",
"initialize",
"initiate",
"install",
"lock",
"login",
"logoff",
"logon",
"logout",
"modify",
"move",
"open",
"post",
"quarantine",
"read",
"release",
"remove",
"replicate",
"resume",
"save",
"scan",
"search",
"start",
"stop",
"suspend",
"teardown",
"uninstall",
"unlock",
"update",
"upgrade",
"upload",
"violate",
"write"
]
status = [
"accept",
"error",
"fail",
"failure",
"succeeded",
"success",
"notice"
]
object = [
"account",
"app",
"bios",
"directory",
"driver",
"disk",
"email",
"event",
"file",
"flow",
"connection",
"memory",
"process",
"rule",
"session",
"system",
"thread",
"vuln"
]
srcuser = [
"root",
"admin",
"administrator"
]
method = [
"password",
"publickey"
]
protocol = [
"udp",
"tcp",
"icmp",
"http/1.0",
"http/1.1"
]
[timesettings]
[timesettings.formats]
0 = ["Mon Jan _2 15:04:05 2006", "4"] #type 0 - matches first pcre
1 = ["Mon Jan _2 15:04:05 MST 2006", "0"]
2 = ["Mon Jan _2 15:04:05 CEST 2006", "0"]
3 = ["Mon Jan 02 15:04:05 CEST 2006", "0"]
4 = ["Mon Jan _2 15:04:05 CST 2006", "0"]
5 = ["Mon Jan 02 15:04:05 CST 2006", "0"]
6 = ["Mon Jan 02 15:04:05 -0700 2006", "99"] #type 99 - underfined yet
7 = ["02 Jan 06 15:04 MST", "99"]
8 = ["02 Jan 06 15:04 -0700", "99"]
9 = ["Monday, 02-Jan-06 15:04:05 MST", "99"]
10 = ["Mon, 02 Jan 2006 15:04:05 MST", "99"]
11 = ["Mon, 02 Jan 2006 15:04:05 -0700", "99"]
12 = ["Jan _2 15:04:05", "1"]
13 = ["Jan _2 15:04:05.000", "1"]
14 = ["Jan _2 15:04:05.000000", "1"]
15 = ["Jan _2 15:04:05.000000000", "1"]
16 = ["_2/Jan/2006:15:04:05 -0700", "5"]
17 = ["02/Jan/2006:15:04:05 -0700", "5"]
18 = ["Jan 2 2006 15:04:05", "99"]
19 = ["Jan 2 15:04:05 2006", "99"]
20 = ["Jan 2 15:04:05 -0700", "99"]
21 = ["Jan 2, 2006 3:04:05 PM", "2"]
22 = ["2006-01-02 15:04:05 -0700", "99"]
23 = ["2006-01-02 15:04:05-0700", "99"]
24 = ["2006-01-02 15:04:05.000", "3"]
25 = ["2006-01-02 15:04:05", "3"]
26 = ["2006-01-02 15:04:05.000 -0700", "99"]
27 = ["2006/01/02 15:04:05", "3"]
28 = ["06-01-02 15:04:05,000", "99"]
29 = ["06-01-02 15:04:05", "99"]
30 = ["06/01/02 15:04:05", "99"]
31 = ["06-01-02 15:04:05,000 -0700", "99"]
32 = ["1/2/2006 3:04:05 PM", "99"]
33 = ["1/2/06 3:04:05.000 PM", "99"]
34 = ["1/2/2006 15:04", "99"]
35 = ["02Jan2006 03:04:05", "99"]
36 = ["Jan _2, 2006 _3:04:05 PM", "2"]
37 = ["04:54:57 PM", "99"] #type empty string - matches all the types with no spaces, no regex needed 2015-01-21 21:41:27
38 = ["2006-01-02T15:04:05-0700", ""]
39 = ["2006-01-02T15:04:05.999-0700", ""]
40 = ["2006-01-02T15:04:05Z07:00", ""]
41 = ["2006-01-02T15:04:05.999999999Z07:00", ""]
42 = ["2006-01-02 15:04:05.999999", "3"]
43 = ["3:04:05", ""]
44 = ["15:04:05,000", ""]
45 = ["2006-01-02T15:04:05.999999Z", ""]
46 = ["02/Jan/2006:15:04:05.999", ""]
47 = ["2006-01-02T15:04:05", ""]
48 = ["2006/01/02-15:04:05.999999", ""]
49 = ["Jan 02 15:04:05", "1"]
50 = ["15:04:05", ""]
51 = ["2006-01-02", ""]
52 = ["15:04:05.999999", ""]
53 = ["2006-01-02T15:04:05Z", ""]
#this is if you are using a parser that is not sequence, such as sys-log patterndb
#these regex are Perl Compatible Regular Expressions
[timesettings.regex]
"0" = "(?:Mon(?:day)?|Tue(?:sday)?|Wed(?:nesday)?|Thu(?:rsday)?|Fri(?:day)?|Sat(?:urday)?|Sun(?:day)?)\\b\\s(?:[Jj]an(?:uary|uar)?|[Ff]eb(?:ruary|ruar)?|[Mm](?:a|ä)?r(?:ch|z)?|[Aa]pr(?:il)?|[Mm]a(?:y|i)?|[Jj]un(?:e|i)?|[Jj]ul(?:y)?|[Aa]ug(?:ust)?|[Ss]ep(?:tember)?|[Oo](?:c|k)?t(?:ober)?|[Nn]ov(?:ember)?|[Dd]e(?:c|z)(?:ember)?)\\b\\s(?:0?[1-9]|1[0-9]|2[0-9]|3[0-1])\\s(?:2[0123]|[01]?[0-9]):(?:[0-5][0-9])(?::(?:(?:[0-5]?[0-9]|60)(?:[:.,][0-9]+)?))(?![0-9])\\s[A-Z]{0,5}\\s(?>\\d\\d){1,2}"
"1" = "\\b(?:[Jj]an(?:uary|uar)?|[Ff]eb(?:ruary|ruar)?|[Mm](?:a|ä)?r(?:ch|z)?|[Aa]pr(?:il)?|[Mm]a(?:y|i)?|[Jj]un(?:e|i)?|[Jj]ul(?:y)?|[Aa]ug(?:ust)?|[Ss]ep(?:tember)?|[Oo](?:c|k)?t(?:ober)?|[Nn]ov(?:ember)?|[Dd]e(?:c|z)(?:ember)?)\\b\\s(?:0?[1-9]|1[0-9]|2[0-9]|3[0-1])\\s(?!<[0-9])(?:2[0123]|[01]?[0-9]):(?:[0-5][0-9])(?::(?:(?:[0-5]?[0-9]|60)(?:[:.,][0-9]+)?))(?![0-9])"
"2" = "\\b(?:[Jj]an(?:uary|uar)?|[Ff]eb(?:ruary|ruar)?|[Mm](?:a|ä)?r(?:ch|z)?|[Aa]pr(?:il)?|[Mm]a(?:y|i)?|[Jj]un(?:e|i)?|[Jj]ul(?:y)?|[Aa]ug(?:ust)?|[Ss]ep(?:tember)?|[Oo](?:c|k)?t(?:ober)?|[Nn]ov(?:ember)?|[Dd]e(?:c|z)(?:ember)?)\\b\\s(?:0?[1-9]|1[0-9]|2[0-9]|3[0-1]),\\s(?>\\d\\d){1,2}\\s(?!<[0-9])(?:2[0123]|[01]?[0-9]):(?:[0-5][0-9])(?::(?:(?:[0-5]?[0-9]|60)(?:[:.,][0-9]+)?))(?![0-9])\\s(?:[A|P]M)"
"3" = "(?>\\d\\d){1,2}-(?:0?[1-9]|1[0-2])-(?:(?:0[1-9])|(?:[12][0-9])|(?:3[01])|[1-9])\\s(?!<[0-9])(?:2[0123]|[01]?[0-9]):(?:[0-5][0-9])(?::(?:(?:[0-5]?[0-9]|60)(?:[:.,][0-9]+)?))(?![0-9])"
"4" = "(?:Mon(?:day)?|Tue(?:sday)?|Wed(?:nesday)?|Thu(?:rsday)?|Fri(?:day)?|Sat(?:urday)?|Sun(?:day)?)\\b\\s(?:[Jj]an(?:uary|uar)?|[Ff]eb(?:ruary|ruar)?|[Mm](?:a|ä)?r(?:ch|z)?|[Aa]pr(?:il)?|[Mm]a(?:y|i)?|[Jj]un(?:e|i)?|[Jj]ul(?:y)?|[Aa]ug(?:ust)?|[Ss]ep(?:tember)?|[Oo](?:c|k)?t(?:ober)?|[Nn]ov(?:ember)?|[Dd]e(?:c|z)(?:ember)?)\\b\\s(?:0?[1-9]|1[0-9]|2[0-9]|3[0-1])\\s(?!<[0-9])(?:2[0123]|[01]?[0-9]):(?:[0-5][0-9])(?::(?:(?:[0-5]?[0-9]|60)(?:[:.,][0-9]+)?))(?![0-9])\\s(?>\\d\\d){1,2}"
"5" = ""
"99" = ""
[timesettings.grok]
"0" = "%{DATESTAMP_OTHER:timestamp}"
"1" = "%{SYSLOGTIMESTAMP:timestamp}"
"2" = "%{MONTH} %{MONTHDAY}, %{YEAR} %{TIME} [A|P]M"
"3" = "%{YEAR}[-|.|\\/]%{MONTHNUM}[-|.|\\/]%{MONTHDAY} %{TIME}"
"4" = "%(DAY} %{MONTH} %{MONTHDAY} %{TIME} %{YEAR}"
"5" = ""
"99" = ""
[patterndb]
[patterndb.tags]
[patterndb.tags.general]
"%multiline%" = "@ANYSTRING:[fieldname]@"
"%srcemail%" = "@EMAIL:[fieldname]:@"
"%float%" = "@FLOAT:[fieldname]@"
"%integer%" = "@NUMBER:[fieldname]@"
"%srcip%" = "@IPvANY:[fieldname]@"
"%dstip%" = "@IPvANY:[fieldname]@"
"%ipv6%" = "@IPv6:[fieldname]@"
"%srchost%" = "@HOSTNAME:[fieldname]@"
"%srcport%" = "@NUMBER:[fieldname]@"
"%srcmac%" = "@MACADDR:[fieldname]@"
"%dsthost%" = "@HOSTNAME:[fieldname]:@"
"%dstport%" = "@NUMBER:[fieldname]@"
"%dstmac%" = "@MACADDR:[fieldname]@"
"%regextime%" = "@PCRE:timestamp:[regexnotfound]@"
"%string%" = "@ESTRING:[fieldname]: @" #string types with fieldname
"%alphanum%" = "@ESTRING:[fieldname]: @"
"%id%" = "@ESTRING:[fieldname]: @"
"%msgtime%" = "@ESTRING:[fieldname]: @"
"%time%" = "@ESTRING:[fieldname]: @"
"%protocol%" = "@ESTRING:[fieldname]: @"
"%msgid%" = "@ESTRING:[fieldname]: @"
"%severity%" = "@ESTRING:[fieldname]: @"
"%priority%" = "@ESTRING:[fieldname]: @"
"%apphost%" = "@ESTRING:[fieldname]: @"
"%appip%" = "@ESTRING:[fieldname]: @"
"%appvendor%" = "@ESTRING:[fieldname]: @"
"%appname%" = "@ESTRING:[fieldname]: @"
"%srcdomain%" = "@ESTRING:[fieldname]: @"
"%srczone%" = "@ESTRING:[fieldname]: @"
"%srcgroup%" = "@ESTRING:[fieldname]: @"
"%srcipnat%" = "@ESTRING:[fieldname]: @"
"%srcportnat%" = "@ESTRING:[fieldname]: @"
"%srcuser%" = "@ESTRING:[fieldname]: @"
"%srcuid%" = "@ESTRING:[fieldname]: @"
"%srcuri%" = "@ESTRING:[fieldname]: @"
"%srcgid%" = "@ESTRING:[fieldname]: @"
"%dstdomain%" = "@ESTRING:[fieldname]: @"
"%dstzone%" = "@ESTRING:[fieldname]: @"
"%dstipnat%" = "@ESTRING:[fieldname]: @"
"%dstportnat%" = "@ESTRING:[fieldname]: @"
"%dstuser%" = "@ESTRING:[fieldname]: @"
"%dstuid%" = "@ESTRING:[fieldname]: @"
"%dsturi%" = "@ESTRING:[fieldname]: @"
"%dstgroup%" = "@ESTRING:[fieldname]: @"
"%dstgid%" = "@ESTRING:[fieldname]: @"
"%dstemail%" = "@ESTRING:[fieldname]: @"
"%iniface%" = "@ESTRING:[fieldname]: @"
"%outiface%" = "@ESTRING:[fieldname]: @"
"%policyid%" = "@ESTRING:[fieldname]: @"
"%sessionid%" = "@ESTRING:[fieldname]: @"
"%action%" = "@ESTRING:[fieldname]: @"
"%command%" = "@ESTRING:[fieldname]: @"
"%object%" = "@ESTRING:[fieldname]: @"
"%method%" = "@ESTRING:[fieldname]: @"
"%status%" = "@ESTRING:[fieldname]: @"
"%reason%" = "@ESTRING:[fieldname]: @"
"%bytesrecv%" = "@ESTRING:[fieldname]: @"
"%bytessent%" = "@ESTRING:[fieldname]: @"
"%pktsrecv%" = "@ESTRING:[fieldname]: @"
"%pktssent%" = "@ESTRING:[fieldname]: @"
"%duration%" = "@ESTRING:[fieldname]: @"
"%uri%" = "@ESTRING:[fieldname]: @"
[patterndb.tags.delimitedstring]
"()" = "@QSTRING:[fieldname]:()@"
"[]" = "@QSTRING:[fieldname]:[]@"
"\"\"" = "@QSTRING:[fieldname]:\"@"
"''" = "@QSTRING:[fieldname]:'@"
"<>" = "@QSTRING:[fieldname]:<>@"
"``" = "@QSTRING:[fieldname]:`@"
":" = "@ESTRING:[fieldname]::@"
"," = "@ESTRING:[fieldname]:,@"
";" = "@ESTRING:[fieldname]:;@"
">" = "@ESTRING:[fieldname]:>@"
"'" = "@ESTRING:[fieldname]:'@"
"?" = "@ESTRING:[fieldname]:?@"
"&" = "@ESTRING:[fieldname]:&@"
"default" = "@ESTRING:[fieldname]:[del]@"
#only need to add the tags here that you wish to change the name of, otherwise the sequence value is used.
[patterndb.tags.fieldname]
"msgtime" = "timestamp"
"regextime" = "timestamp"
"float" = "decimal"
[grok]
[grok.tags]
[grok.tags.general]
"%multiline%" = "%{GREEDYDATA:[fieldname]}"
"%srcemail%" = "%{EMAILADDRESS:[fieldname]}"
"%float%" = "%{BASE16FLOAT:[fieldname]}"
"%integer%" = "%{INT:[fieldname]}"
"%srcip%" = "%{IP:[fieldname]}"
"%dstip%" = "%{IP:[fieldname]}"
"%ipv6%" = "%{IP:[fieldname]}"
"%srchost%" = "%{HOSTNAME:[fieldname]}"
"%srcport%" = "%{INT:[fieldname]}"
"%srcmac%" = "%{MAC:[fieldname]}"
"%dsthost%" = "%{HOSTNAME:[fieldname]}"
"%dstport%" = "%{INT:[fieldname]}"
"%dstmac%" = "%{MAC:[fieldname]}"
"%regextime%" = "%{DATA:[fieldname]}"
"%string%" = "%{DATA:[fieldname]}"
"%alphanum%" = "%{DATA:[fieldname]}"
"%id%" = "%{DATA:[fieldname]}"
"%msgtime%" = "%{DATA:[fieldname]}"
"%time%" = "%{DATA:[fieldname]}"
"%protocol%" = "%{DATA:[fieldname]}"
"%msgid%" = "%{DATA:[fieldname]}"
"%severity%" = "%{DATA:[fieldname]}"
"%priority%" = "%{DATA:[fieldname]}"
"%apphost%" = "%{DATA:[fieldname]}"
"%appip%" = "%{DATA:[fieldname]}"
"%appvendor%" = "%{DATA:[fieldname]}"
"%appname%" = "%{DATA:[fieldname]}"
"%srcdomain%" = "%{DATA:[fieldname]}"
"%srczone%" = "%{DATA:[fieldname]}"
"%srcipnat%" = "%{DATA:[fieldname]}"
"%srcportnat%" = "%{DATA:[fieldname]}"
"%srcuser%" = "%{USER:[fieldname]}"
"%srcuid%" = "%{UUID:[fieldname]}"
"%srcuri%" = "%{URI:[fieldname]}"
"%srcgid%" = "%{DATA:[fieldname]}"
"%dstdomain%" = "%{DATA:[fieldname]}"
"%dstzone%" = "%{DATA:[fieldname]}"
"%dstipnat%" = "%{DATA:[fieldname]}"
"%dstportnat%" = "%{DATA:[fieldname]}"
"%dstuser%" = "%{USER:[fieldname]}"
"%dstuid%" = "%{UUID:[fieldname]}"
"%dsturi%" = "%{URI:[fieldname]}"
"%dstgroup%" = "%{DATA:[fieldname]}"
"%dstgid%" = "%{DATA:[fieldname]}"
"%dstemail%" = "%{EMAILADDRESS:[fieldname]}"
"%iniface%" = "%{DATA:[fieldname]}"
"%outiface%" = "%{DATA:[fieldname]}"
"%policyid%" = "%{DATA:[fieldname]}"
"%sessionid%" = "%{DATA:[fieldname]}"
"%action%" = "%{DATA:[fieldname]}"
"%command%" = "%{DATA:[fieldname]}"
"%object%" = "%{DATA:[fieldname]}"
"%method%" = "%{DATA:[fieldname]}"
"%status%" = "%{LOGLEVEL:[fieldname]}"
"%reason%" = "%{DATA:[fieldname]}"
"%bytesrecv%" = "%{DATA:[fieldname]}"
"%bytessent%" = "%{DATA:[fieldname]}"
"%pktsrecv%" = "%{DATA:[fieldname]}"
"%pktssent%" = "%{DATA:[fieldname]}"
"%duration%" = "%{DATA:[fieldname]}"
"%uri%" = "%{URI:[fieldname]}"
[grok.tags.delimitedstring]
"\"\"" = "%{QUOTEDSTRING:[fieldname]}"
"''" = "%{QUOTEDSTRING:[fieldname]}"
"<>" = "%{QUOTEDSTRING:[fieldname]}"
"``" = "%{QUOTEDSTRING:[fieldname]}"
#only need to add the tags here that you wish to change the name of, otherwise the sequence value is used.
[grok.tags.fieldname]
"msgtime" = "timestamp"
"float" = "decimal"
# vim:set ts=4 et: