File tree Expand file tree Collapse file tree 5 files changed +41
-9
lines changed
Expand file tree Collapse file tree 5 files changed +41
-9
lines changed Original file line number Diff line number Diff line change @@ -219,3 +219,5 @@ It's possible to use complete Docker images with Apache Storm and SpamScope. Tak
219219![ SpamScope] ( docs/images/Docker01.png?raw=true " SpamScope ")
220220
221221![ SpamScope Topology] ( docs/images/Docker02.png?raw=true " SpamScope Topology ")
222+
223+ ![ SpamScope Map] ( docs/images/map.png?raw=true " SpamScope Map ")
Original file line number Diff line number Diff line change 11{
22 "order" : 0 ,
3+ "version" : 2 ,
34 "template" : " spamscope_*-*" ,
45 "settings" : {
56 "analysis" : {
5960 "headers" : {
6061 "mapping" : {
6162 "index" : " analyzed" ,
62- "type" : " text " ,
63+ "type" : " string " ,
6364 "analyzer" : " header"
6465 },
6566 "match_pattern" : " regex" ,
7071 "body" : {
7172 "mapping" : {
7273 "index" : " analyzed" ,
73- "type" : " text " ,
74+ "type" : " string " ,
7475 "analyzer" : " html_body"
7576 },
7677 "match" : " body"
8081 "path_mail" : {
8182 "mapping" : {
8283 "index" : " analyzed" ,
83- "type" : " text " ,
84+ "type" : " string " ,
8485 "analyzer" : " path_pattern"
8586 },
8687 "match" : " path_mail"
107108 }
108109 },
109110 {
110- "all_text " : {
111+ "all_string " : {
111112 "mapping" : {
112113 "index" : " analyzed" ,
113- "type" : " text " ,
114+ "type" : " string " ,
114115 "fields" : {
115116 "raw" : {
116117 "ignore_above" : 256 ,
120121 }
121122 }
122123 },
123- "match_mapping_type" : " text "
124+ "match_mapping_type" : " string "
124125 }
125126 }
126- ]
127+ ],
128+ "_all" : {
129+ "norms" : false ,
130+ "enabled" : true
131+ },
132+ "properties" : {
133+ "@timestamp" : {
134+ "type" : " date"
135+ },
136+ "geoip" : {
137+ "dynamic" : true ,
138+ "properties" : {
139+ "ip" : {
140+ "type" : " ip"
141+ },
142+ "latitude" : {
143+ "type" : " half_float"
144+ },
145+ "location" : {
146+ "type" : " geo_point"
147+ },
148+ "longitude" : {
149+ "type" : " half_float"
150+ }
151+ }
152+ },
153+ "@version" : {
154+ "type" : " keyword"
155+ }
156+ }
127157 }
128158 }
129159}
Original file line number Diff line number Diff line change 1- (defproject spamscope " 1.4.8 -SNAPSHOT"
1+ (defproject spamscope " 1.4.9 -SNAPSHOT"
22 :resource-paths [" _resources" ]
33 :target-path " _build"
44 :min-lein-version " 2.0.0"
Original file line number Diff line number Diff line change 1919
2020from os .path import join
2121
22- __version__ = "1.4.7 "
22+ __version__ = "1.4.9 "
2323__configuration_path__ = "/etc/spamscope"
2424
2525__defaults__ = {
You can’t perform that action at this time.
0 commit comments