sms-logparser 0.7.1 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 296d8d061cd01d90fe03d842a78bdbf343e512ef
4
- data.tar.gz: 7ead0d25faed08ce7fe3082a06d8d14dfbb67f76
3
+ metadata.gz: 93e212f0f77154778e786a79367f9cd82c9cee3b
4
+ data.tar.gz: 49e41a9246a1ed98d9b758879229c35e05155142
5
5
  SHA512:
6
- metadata.gz: 6c7fa5bdc80e292209795d134f4c56a5e2c73abcf985e18413cbbe741a09529408e1c0262f33925a9839b194a625eb4c32dc8accc678a726d916c42e9673b81d
7
- data.tar.gz: a8bb321f3ecaa98b60a4d0144db508b1b61e718bdf082a2747e8ddadeafb51b03a89173a00f006c40c0b6c5e3b93d9d048bdaef3475be2099d64e9b39effc807
6
+ metadata.gz: d556599ab90dfa6c382b2f49ce55c184b11f168133777ce86580361dccf38b7080a79c56a05e05c54db63162fd154270e4f6ada22c94025a291abccbbc3dbd96
7
+ data.tar.gz: 053425917166b1b60cb82b2744e2df956a97c1a5950be1fa53c6ce5f1e52ad5fa04d360982165693b8673b36a5fe0670083de5643bb08a069b20dbceecd76d0f
@@ -4,46 +4,61 @@ module SmsLogparser
4
4
 
5
5
  def initialize(options)
6
6
  @options = options
7
- @base_url = URI(@options[:api_base_url] || 'http://localhost:8080/creator/rest')
8
- end
9
-
10
- def connection
11
- unless @connection
12
- @connection = Faraday.new(url: @base_url) do |faraday|
13
- faraday.request :url_encoded
14
- faraday.response :logger if @options[:debug]
15
- faraday.adapter :net_http_persistent
16
- end
17
- @connection.headers[:user_agent] = "sms-logparser v#{SmsLogparser::VERSION}"
18
- if @options[:api_key]
19
- @connection.headers['X-simplex-api-key'] = @options[:api_key]
20
- end
21
- end
22
- @connection
7
+ @base_url = URI(@options[:api_base_url] || 'http://localhost:8080/creator/rest/')
8
+ @url = "#{@base_url.scheme}://#{@base_url.host}"
9
+ @accepted_responses = parse_status_codes(options[:accepted_api_responses]) || [200]
10
+ @connection = connection
23
11
  end
24
12
 
25
13
  def send(data)
26
- uris = []
27
- base_path = [@base_url.path, data[:customer_id], data[:author_id], data[:project_id]].join('/')
14
+ requests = []
15
+ base_path = @base_url.path + [data[:customer_id], data[:author_id], data[:project_id]].join('/')
28
16
  unless data[:file] =~ /.*\.m3u8$/
29
- uris << [base_path, data[:traffic_type], data[:bytes]].join('/')
17
+ requests << {
18
+ url: @url,
19
+ uri: [base_path, data[:traffic_type], data[:bytes]].join('/'),
20
+ }
30
21
  end
31
22
  if data[:visitor_type]
32
- uris << [base_path, data[:visitor_type], 1].join('/')
23
+ requests << {
24
+ url: @url,
25
+ uri: [base_path, data[:visitor_type], 1].join('/')
26
+ }
33
27
  end
34
28
  unless @options[:simulate]
35
- uris.each do |uri|
29
+ requests.each_with_index do |request, i|
36
30
  begin
37
- response = connection.post(uri)
31
+ response = @connection.post(request[:uri])
32
+ requests[i][:status] = response.status
38
33
  rescue => e
39
- raise RuntimeError, "Can't send request to #{uri}. #{e.message}", caller
34
+ raise RuntimeError, "Can't send request to #{request[:uri]}. #{e.message}", caller
40
35
  end
41
- unless response.status == 200
42
- raise RuntimeError, "Received HTTP status #{response.status} from API.", caller
36
+ unless @accepted_responses.include?(response.status)
37
+ msg = "Received HTTP status #{response.status} from API. Only accepting #{@accepted_responses.join(', ')}."
38
+ raise RuntimeError, msg, caller
43
39
  end
44
40
  end
45
41
  end
46
- uris
42
+ requests
43
+ end
44
+
45
+ private
46
+
47
+ def connection
48
+ connection = Faraday.new(url: @url) do |faraday|
49
+ faraday.request :url_encoded
50
+ faraday.response :logger if @options[:debug]
51
+ faraday.adapter :net_http_persistent
52
+ end
53
+ connection.headers[:user_agent] = "sms-logparser v#{SmsLogparser::VERSION}"
54
+ if @options[:api_key]
55
+ @connection.headers['X-simplex-api-key'] = @options[:api_key]
56
+ end
57
+ connection
58
+ end
59
+
60
+ def parse_status_codes(codes)
61
+ codes ? codes.map{|status| status.to_i} : nil
47
62
  end
48
63
 
49
64
  end # class
@@ -15,7 +15,7 @@ module SmsLogparser
15
15
 
16
16
  class_option :mysql_user,
17
17
  aliases: %w(-u),
18
- desc: "MySQL user (default: root)"
18
+ desc: "MySQL user (Default: root)"
19
19
 
20
20
  class_option :mysql_password,
21
21
  aliases: %w(-p),
@@ -23,7 +23,7 @@ module SmsLogparser
23
23
 
24
24
  class_option :mysql_db,
25
25
  aliases: %w(-d),
26
- desc: "MySQL database (default: Syslog)"
26
+ desc: "MySQL database (Default: Syslog)"
27
27
 
28
28
  desc "version", "Print sms-logparser version number"
29
29
  def version
@@ -34,7 +34,7 @@ module SmsLogparser
34
34
  desc "parse", "Check the database for pcache logs and send them to the SMS-API"
35
35
  option :api_base_url,
36
36
  aliases: %w(-a),
37
- desc: "Base path of the SMS API (default: http://localhost:8080/)"
37
+ desc: "Base path of the SMS API (Default: http://localhost:8080/creator/rest/)"
38
38
  option :api_key,
39
39
  aliases: %w(-k),
40
40
  desc: "SMS API Key"
@@ -56,6 +56,9 @@ module SmsLogparser
56
56
  type: :boolean,
57
57
  default: false,
58
58
  desc: "Show debug output"
59
+ option :accepted_api_responses,
60
+ type: :array,
61
+ desc: "API HTTP responses which are accepted (Default: only accept 200)."
59
62
  def parse
60
63
  say "Starting the parser...", :green
61
64
  mysql = Mysql.new(options)
@@ -75,9 +78,11 @@ module SmsLogparser
75
78
  mysql.get_entries(last_id: state[:last_event_id], limit: options[:limit]) do |entries|
76
79
  entries.each do |entry|
77
80
  Parser.extract_data_from_msg(entry['Message']) do |data|
78
- urls = api.send(data)
79
- state[:match_count] += 1
80
- verbose_parser_output(data, urls, entry) if options[:verbose]
81
+ if data
82
+ requests = api.send(data)
83
+ state[:match_count] += 1
84
+ verbose_parser_output(data, requests, entry) if options[:verbose]
85
+ end
81
86
  end
82
87
  state[:last_event_id] = entry['ID']
83
88
  end
@@ -86,6 +91,7 @@ module SmsLogparser
86
91
  rescue => e
87
92
  say "Error: #{e.message}", :red
88
93
  say "Aborting parser run...", :red
94
+ say(e.backtrace.join("\n"), :yellow) if options[:debug]
89
95
  state[:status] = STATUS[:api_error] if state
90
96
  ensure
91
97
  begin
@@ -149,13 +155,13 @@ module SmsLogparser
149
155
  end
150
156
 
151
157
  no_commands do
152
- def verbose_parser_output(data, uris, entry)
158
+ def verbose_parser_output(data, requests, entry)
153
159
  say "ID:\t", :cyan
154
160
  say entry['ID']
155
161
  say "URL:\t", :cyan
156
- say uris.join("\n\t")
162
+ say requests.map {|req| "#{req[:url]}#{req[:uri]} (Status: #{req[:status] || 'n/a'})"}.join("\n\t")
157
163
  say "Data:\t", :cyan
158
- say data.map{|k,v| "#{k}:\t#{v}"}.join("\n\t") || "\n"
164
+ say data.map{|k,v| "#{k}:\t#{v || '-'}"}.join("\n\t") || "\n"
159
165
  puts
160
166
  puts "-" * 100
161
167
  puts
@@ -177,7 +183,7 @@ module SmsLogparser
177
183
  filename = original_options[:config] || File.join(Dir.home, '.sms-logparser.yml')
178
184
  return original_options unless File.exists?(filename)
179
185
  defaults = ::YAML::load_file(filename) || {}
180
- Thor::CoreExt::HashWithIndifferentAccess.new(defaults.merge(original_options))
186
+ Thor::CoreExt::HashWithIndifferentAccess.new(Defaults.merge(original_options))
181
187
  end
182
188
  end
183
189
 
@@ -2,25 +2,26 @@ module SmsLogparser
2
2
  class Parser
3
3
 
4
4
  def self.extract_data_from_msg(message)
5
+ data = nil
5
6
  if self.match?(message)
6
- m = message.match /\/content\/(\d+)\/(\d+)\/(\d+)\/(\w+\.\w+)\s.*\"\s\d+\s(\d+).+"(.*)"$/
7
- raise "No match found." unless m
8
- traffic_type = Parser.get_traffic_type(m[6])
9
- visitor_type = Parser.get_visitor_type(traffic_type, m[4])
10
- data = {
11
- :customer_id => m[1],
12
- :author_id => m[2],
13
- :project_id => m[3],
14
- :file => m[4],
15
- :bytes => m[5],
16
- :user_agent => m[6],
17
- :traffic_type => traffic_type,
18
- :visitor_type => visitor_type
19
- }
20
- return data unless block_given?
21
- yield data
7
+ match = message.match /\/content\/(\d+)\/(\d+)\/(\d+)\/(\w+\.\w+)\s.*\"\s\d+\s(\d+).+"(.*)"$/
8
+ if match
9
+ traffic_type = Parser.get_traffic_type(match[6])
10
+ visitor_type = Parser.get_visitor_type(traffic_type, match[4])
11
+ data = {
12
+ :customer_id => match[1],
13
+ :author_id => match[2],
14
+ :project_id => match[3],
15
+ :file => match[4],
16
+ :bytes => match[5],
17
+ :user_agent => match[6],
18
+ :traffic_type => traffic_type,
19
+ :visitor_type => visitor_type
20
+ }
21
+ end
22
22
  end
23
- nil
23
+ return data unless block_given?
24
+ yield data
24
25
  end
25
26
 
26
27
  def self.match?(message)
@@ -1,3 +1,3 @@
1
1
  module SmsLogparser
2
- VERSION = "0.7.1"
2
+ VERSION = "0.8.0"
3
3
  end
@@ -0,0 +1,100 @@
1
+ CREATE TABLE IF NOT EXISTS Syslog.SystemEvents(
2
+ ID INT PRIMARY KEY AUTO_INCREMENT,
3
+ FromHost varchar(128) DEFAULT '',
4
+ Message varchar(256) DEFAULT ''
5
+ );
6
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
7
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
8
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
9
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
10
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
11
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
12
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
13
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
14
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
15
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
16
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
17
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
18
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
19
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
20
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
21
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
22
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
23
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
24
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
25
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
26
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
27
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
28
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
29
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
30
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
31
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
32
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
33
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
34
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
35
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
36
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
37
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
38
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
39
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
40
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
41
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
42
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
43
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
44
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
45
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
46
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
47
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
48
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
49
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
50
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
51
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
52
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
53
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
54
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
55
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
56
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
57
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
58
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
59
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
60
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
61
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
62
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
63
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
64
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
65
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
66
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
67
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
68
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
69
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
70
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
71
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
72
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
73
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
74
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
75
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
76
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
77
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
78
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
79
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
80
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
81
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
82
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
83
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
84
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
85
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
86
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
87
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
88
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
89
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
90
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
91
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
92
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
93
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
94
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
95
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
96
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
97
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
98
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
99
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
100
+ INSERT INTO Syslog.SystemEvents (FromHost, Message) VALUES ("pcache", '- - [25/Feb/2014:17:28:57 +0100] \"GET /content/2/719/54986/simvid_1.f4v HTTP/1.1\" 200 6741309 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0\"');
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sms-logparser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - niwo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-05 00:00:00.000000000 Z
11
+ date: 2014-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -134,6 +134,7 @@ files:
134
134
  - spec/cli_spec.rb
135
135
  - spec/parser_spec.rb
136
136
  - spec/spec_helper.rb
137
+ - spec/syslog_events.sql
137
138
  homepage: https://github.com/swisstxt/sms-logparser
138
139
  licenses:
139
140
  - MIT
@@ -163,3 +164,4 @@ test_files:
163
164
  - spec/cli_spec.rb
164
165
  - spec/parser_spec.rb
165
166
  - spec/spec_helper.rb
167
+ - spec/syslog_events.sql