-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathproperties-regexParserApplication.xml
More file actions
70 lines (63 loc) · 1.79 KB
/
properties-regexParserApplication.xml
File metadata and controls
70 lines (63 loc) · 1.79 KB
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
<?xml version="1.0"?>
<configuration>
<property>
<name>dt.application.RegexParser.operator.regexParser.prop.schema</name>
<value>{
"fields": [
{
"name": "date",
"type": "Date",
"constraints": {
"format": "yyyy:MM:dd:hh:mm:ss"
}
},
{
"name": "id",
"type": "Integer"
},
{
"name": "signInId",
"type": "String"
},
{
"name": "ipAddress",
"type": "String"
},
{
"name": "serviceId",
"type": "String"
},
{
"name": "accountId",
"type": "String"
},
{
"name": "platform",
"type": "String"
}
]
}
</value>
</property>
<!--The below property is set from RegexParserApplication.java. If it is set in both the places, the below value in property overrides the value set in RegexParserApplication.java -->
<!-- <property>
<name>dt.application.RegexParser.operator.regexParser.port.out.attr.TUPLE_CLASS</name>
<value>com.datatorrent.tutorial.regexparser.ServerLog</value>
</property>-->
<property>
<name>dt.application.RegexParser.operator.regexParser.prop.splitRegexPattern</name>
<value>.+\[SEQ=\w+\]\s*(\d+:[\d\d:]+)\s(\d+)\s* sign-in_id=(\S+) .*ip_address=(\S+).* service_id=(\S+).*account_id=(\S+).*platform=(\S+)</value>
</property>
<property>
<name>dt.application.RegexParser.operator.*.prop.filePath</name>
<value>/tmp/application/parser/regexparser</value>
</property>
<property>
<name>dt.application.RegexParser.operator.regexErrorWriter.prop.outputFileName</name>
<value>errordata</value>
</property>
<property>
<name>dt.application.RegexParser.operator.regexWriter.prop.outputFileName</name>
<value>outputdata</value>
</property>
</configuration>