Skip to content

Instantly share code, notes, and snippets.

@wondermike-zz
Created November 13, 2015 15:35
Show Gist options
  • Save wondermike-zz/50f4340471116bbb3288 to your computer and use it in GitHub Desktop.
Save wondermike-zz/50f4340471116bbb3288 to your computer and use it in GitHub Desktop.
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:25 +0000] "GET /documents/document/_search?preference=_primary_first HTTP/1.1" 2801 200 23372 "-" "Stretcher Ruby Gem 1.19.0" 0.069
"{\x22facets\x22:{\x22total_due_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}},\x22total_drafts_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22draft\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_canceled_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22canceled\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}},\x22total_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_taxes\x22}},\x22total_paid_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_paid_before_taxes\x22}},\x22total_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total\x22}},\x22total_overdue_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:false,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}}},\x22from\x22:0,\x22size\x22:10,\x22sort\x22:[{\x22date\x22:\x22desc\x22},{\x22final_date\x22:{\x22missing\x22:\x22_last\x22,\x22order\x22:\x22desc\x22}}],\x22query\x22:{\x22filtered\x22:{\x22filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22archived\x22:[false],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22draft\x22,\x22sent\x22,\x22canceled\x22,\x22second_copy\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Shipping\x22,\x22Transport\x22,\x22Devolution\x22]}}]}},\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:2961}},\x22minimum_should_match\x22:1}}}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:27 +0000] "HEAD /clients HTTP/1.1" 305 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:27 +0000] "PUT /clients/client/1638448 HTTP/1.1" 774 201 81 "-" "Stretcher Ruby Gem 1.19.0" 0.005
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:29 +0000] "GET /clients/_search HTTP/1.1" 370 200 4886 "-" "Stretcher Ruby Gem 1.19.0" 0.005
"{\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:7324}}}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:30 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:30 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:30 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 444 200 1612 "-" "Stretcher Ruby Gem 1.19.0" 0.004
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:5696}},\x22minimum_should_match\x22:1}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:30 +0000] "GET /clients/_search HTTP/1.1" 533 200 2293 "-" "Stretcher Ruby Gem 1.19.0" 0.007
"{\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:16959}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22code\x22],\x22query\x22:\x22SOCIEDAD\x22}},{\x22match\x22:{\x22name\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22query\x22:\x22SOCIEDAD\x22}}}]}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:30 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:30 +0000] "HEAD /documents/document HTTP/1.1" 316 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:30 +0000] "GET /documents/document/_search?preference=_primary_first HTTP/1.1" 2745 200 24853 "-" "Stretcher Ruby Gem 1.19.0" 0.068
"{\x22facets\x22:{\x22total_due_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_before_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_drafts_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22draft\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_paid_before_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_paid_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_overdue_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:false,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_canceled_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22canceled\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}}},\x22from\x22:0,\x22size\x22:10,\x22sort\x22:[{\x22date\x22:\x22desc\x22},{\x22final_date\x22:{\x22missing\x22:\x22_last\x22,\x22order\x22:\x22desc\x22}}],\x22query\x22:{\x22filtered\x22:{\x22filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22archived\x22:[false],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22CreditNote\x22]}}]}},\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:9335}},\x22minimum_should_match\x22:1}}}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:30 +0000] "GET /clients/_search HTTP/1.1" 520 200 5000 "-" "Stretcher Ruby Gem 1.19.0" 0.026
"{\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:7324}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22code\x22],\x22query\x22:\x22El\x22}},{\x22match\x22:{\x22name\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22query\x22:\x22El\x22}}}]}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:31 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 2028 200 2769 "-" "Stretcher Ruby Gem 1.19.0" 0.147
"{\x22facets\x22:{\x222013_monthly_invoicing_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:7367}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222013-01-01T00:00:00+00:00\x22,\x22to\x22:\x222013-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}},\x222014_monthly_invoicing_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:7367}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222014-01-01T00:00:00+00:00\x22,\x22to\x22:\x222014-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}},\x222015_monthly_invoicing_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:7367}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:31 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 1490 200 689 "-" "Stretcher Ruby Gem 1.19.0" 0.234
"{\x22facets\x22:{\x22quarterly_taxes_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22quarter\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:7367}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}},\x22quarterly_total_before_taxes_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes_with_retention\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22quarter\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:7367}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:33 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:33 +0000] "PUT /documents/document/7602786 HTTP/1.1" 2316 201 85 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:33 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:33 +0000] "PUT /documents/document/7602785 HTTP/1.1" 2089 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:33 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:33 +0000] "PUT /items/item/297627 HTTP/1.1" 490 200 77 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:33 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:33 +0000] "PUT /documents/document/7572727 HTTP/1.1" 3503 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.004
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:34 +0000] "GET /clients/_search HTTP/1.1" 550 200 4991 "-" "Stretcher Ruby Gem 1.19.0" 0.027
"{\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:7324}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22code\x22],\x22query\x22:\x22Elsa Santos Almei\x22}},{\x22match\x22:{\x22name\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22query\x22:\x22Elsa Santos Almei\x22}}}]}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:38 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:38 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:38 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 444 200 3775 "-" "Stretcher Ruby Gem 1.19.0" 0.003
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:7324}},\x22minimum_should_match\x22:1}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:39 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:39 +0000] "PUT /documents/document/7602787 HTTP/1.1" 2326 201 85 "-" "Stretcher Ruby Gem 1.19.0" 0.005
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:39 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:39 +0000] "PUT /items/item/253441 HTTP/1.1" 513 200 79 "-" "Stretcher Ruby Gem 1.19.0" 0.004
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:39 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:39 +0000] "PUT /documents/document/7602784 HTTP/1.1" 2337 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:40 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:40 +0000] "HEAD /documents/document HTTP/1.1" 316 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:40 +0000] "GET /documents/document/_search?preference=_primary_first HTTP/1.1" 2862 200 23056 "-" "Stretcher Ruby Gem 1.19.0" 0.068
"{\x22facets\x22:{\x22total_due_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}},\x22total_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_taxes\x22}},\x22total_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total\x22}},\x22total_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}},\x22total_drafts_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22draft\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_paid_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_paid_before_taxes\x22}},\x22total_overdue_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:false,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}},\x22total_canceled_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22canceled\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}}},\x22from\x22:0,\x22size\x22:10,\x22sort\x22:[{\x22date\x22:\x22desc\x22},{\x22final_date\x22:{\x22missing\x22:\x22_last\x22,\x22order\x22:\x22desc\x22}}],\x22query\x22:{\x22filtered\x22:{\x22filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22archived\x22:[false],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22draft\x22,\x22sent\x22,\x22settled\x22,\x22canceled\x22,\x22second_copy\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:19320}},\x22minimum_should_match\x22:1}}}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:44 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 2031 200 4661 "-" "Stretcher Ruby Gem 1.19.0" 0.215
"{\x22facets\x22:{\x222013_monthly_invoicing_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:11981}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222013-01-01T00:00:00+00:00\x22,\x22to\x22:\x222013-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}},\x222014_monthly_invoicing_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:11981}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222014-01-01T00:00:00+00:00\x22,\x22to\x22:\x222014-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}},\x222015_monthly_invoicing_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:11981}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:44 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 1492 200 1164 "-" "Stretcher Ruby Gem 1.19.0" 0.337
"{\x22facets\x22:{\x22quarterly_taxes_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22quarter\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:11981}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}},\x22quarterly_total_before_taxes_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes_with_retention\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22quarter\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:11981}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:44 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:44 +0000] "PUT /documents/document/7602788 HTTP/1.1" 2028 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:45 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:45 +0000] "PUT /documents/document/7602779 HTTP/1.1" 2888 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.004
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:45 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:45 +0000] "PUT /items/item/90263 HTTP/1.1" 490 200 78 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:45 +0000] "GET /clients/_search HTTP/1.1" 371 200 5604 "-" "Stretcher Ruby Gem 1.19.0" 0.004
"{\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:16959}}}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:45 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:45 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:45 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 444 200 3934 "-" "Stretcher Ruby Gem 1.19.0" 0.005
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:7051}},\x22minimum_should_match\x22:1}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:47 +0000] "GET /clients/_search HTTP/1.1" 521 200 5506 "-" "Stretcher Ruby Gem 1.19.0" 0.014
"{\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:16959}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22code\x22],\x22query\x22:\x22RO\x22}},{\x22match\x22:{\x22name\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22query\x22:\x22RO\x22}}}]}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:47 +0000] "HEAD /clients HTTP/1.1" 305 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:47 +0000] "PUT /clients/client/770166 HTTP/1.1" 716 200 81 "-" "Stretcher Ruby Gem 1.19.0" 0.004
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:47 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:47 +0000] "PUT /documents/document/7602789 HTTP/1.1" 2252 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:49 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:49 +0000] "HEAD /documents/document HTTP/1.1" 316 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:49 +0000] "GET /documents/document/_search?preference=_primary_first HTTP/1.1" 2864 200 5984 "-" "Stretcher Ruby Gem 1.19.0" 0.083
"{\x22facets\x22:{\x22total_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_taxes\x22}},\x22total_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total\x22}},\x22total_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}},\x22total_drafts_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22draft\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_paid_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_paid_before_taxes\x22}},\x22total_overdue_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:false,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}},\x22total_canceled_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22canceled\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_due_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}}},\x22from\x22:0,\x22size\x22:10,\x22sort\x22:[{\x22date\x22:\x22desc\x22},{\x22final_date\x22:{\x22missing\x22:\x22_last\x22,\x22order\x22:\x22desc\x22}}],\x22query\x22:{\x22filtered\x22:{\x22filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22client_id\x22:[645108],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22draft\x22,\x22sent\x22,\x22settled\x22,\x22canceled\x22,\x22second_copy\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:11512}},\x22minimum_should_match\x22:1}}}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:50 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:50 +0000] "PUT /documents/document/7602787 HTTP/1.1" 2386 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.005
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:50 +0000] "HEAD /clients HTTP/1.1" 305 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:50 +0000] "PUT /clients/client/1638446 HTTP/1.1" 793 200 82 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:51 +0000] "GET /clients/_search HTTP/1.1" 371 200 5604 "-" "Stretcher Ruby Gem 1.19.0" 0.004
"{\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:16959}}}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:52 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:52 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:52 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 634 200 907 "-" "Stretcher Ruby Gem 1.19.0" 0.004
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:7051}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22description\x22],\x22query\x22:\x22folhados \x22}},{\x22multi_match\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22fields\x22:[\x22name.keyword\x22,\x22description.keyword\x22],\x22query\x22:\x22folhados \x22}}]}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:52 +0000] "GET /clients/_search HTTP/1.1" 521 200 4912 "-" "Stretcher Ruby Gem 1.19.0" 0.009
"{\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:16959}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22code\x22],\x22query\x22:\x22SO\x22}},{\x22match\x22:{\x22name\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22query\x22:\x22SO\x22}}}]}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:52 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:52 +0000] "PUT /documents/document/7602787 HTTP/1.1" 2386 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.005
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:53 +0000] "GET /clients/_search HTTP/1.1" 525 200 2294 "-" "Stretcher Ruby Gem 1.19.0" 0.012
"{\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:16959}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22code\x22],\x22query\x22:\x22SOCI\x22}},{\x22match\x22:{\x22name\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22query\x22:\x22SOCI\x22}}}]}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:57 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:57 +0000] "HEAD /documents/document HTTP/1.1" 316 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:25:57 +0000] "GET /documents/document/_search?preference=_primary_first HTTP/1.1" 2992 200 3722 "-" "Stretcher Ruby Gem 1.19.0" 0.073
"{\x22facets\x22:{\x22total_due_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_before_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_drafts_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22draft\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_paid_before_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_paid_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_overdue_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:false,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_canceled_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22canceled\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}}},\x22from\x22:0,\x22size\x22:10,\x22sort\x22:[{\x22date\x22:\x22desc\x22},{\x22final_date\x22:{\x22missing\x22:\x22_last\x22,\x22order\x22:\x22desc\x22}}],\x22query\x22:{\x22filtered\x22:{\x22filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22archived\x22:[false],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22draft\x22,\x22sent\x22,\x22settled\x22,\x22canceled\x22,\x22second_copy\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22from\x22:\x222015-10-01T00:00:00+01:00\x22,\x22to\x22:\x222015-11-30T23:59:59+00:00\x22,\x22include_upper\x22:true}}}]}},\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:7367}},\x22minimum_should_match\x22:1}}}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:58 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:58 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:58 +0000] "PUT /documents/document/6907975 HTTP/1.1" 3349 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.004
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:25:58 +0000] "PUT /items/item/297393 HTTP/1.1" 521 200 79 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:01 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:01 +0000] "PUT /documents/document/7602792 HTTP/1.1" 2216 201 85 "-" "Stretcher Ruby Gem 1.19.0" 0.004
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:02 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:02 +0000] "HEAD /documents/document HTTP/1.1" 316 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:02 +0000] "GET /documents/document/_search?preference=_primary_first HTTP/1.1" 2863 200 23311 "-" "Stretcher Ruby Gem 1.19.0" 0.068
"{\x22facets\x22:{\x22total_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_taxes\x22}},\x22total_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total\x22}},\x22total_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}},\x22total_drafts_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22draft\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_paid_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_paid_before_taxes\x22}},\x22total_overdue_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:false,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}},\x22total_canceled_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22canceled\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_due_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}}},\x22from\x22:10,\x22size\x22:10,\x22sort\x22:[{\x22date\x22:\x22desc\x22},{\x22final_date\x22:{\x22missing\x22:\x22_last\x22,\x22order\x22:\x22desc\x22}}],\x22query\x22:{\x22filtered\x22:{\x22filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22archived\x22:[false],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22draft\x22,\x22sent\x22,\x22settled\x22,\x22canceled\x22,\x22second_copy\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:19320}},\x22minimum_should_match\x22:1}}}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:02 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:02 +0000] "PUT /items/item/928519 HTTP/1.1" 482 200 77 "-" "Stretcher Ruby Gem 1.19.0" 0.004
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:02 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:02 +0000] "PUT /documents/document/7602793 HTTP/1.1" 3608 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:04 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:04 +0000] "HEAD /documents/document HTTP/1.1" 316 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:04 +0000] "GET /documents/document/_search?preference=_primary_first HTTP/1.1" 2862 200 25931 "-" "Stretcher Ruby Gem 1.19.0" 0.071
"{\x22facets\x22:{\x22total_drafts_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22draft\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_canceled_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22canceled\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}},\x22total_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_taxes\x22}},\x22total_paid_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_paid_before_taxes\x22}},\x22total_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total\x22}},\x22total_overdue_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:false,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}},\x22total_due_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}}},\x22from\x22:0,\x22size\x22:10,\x22sort\x22:[{\x22date\x22:\x22desc\x22},{\x22final_date\x22:{\x22missing\x22:\x22_last\x22,\x22order\x22:\x22desc\x22}}],\x22query\x22:{\x22filtered\x22:{\x22filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22archived\x22:[false],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22draft\x22,\x22sent\x22,\x22settled\x22,\x22canceled\x22,\x22second_copy\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:24796}},\x22minimum_should_match\x22:1}}}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:05 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:05 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:05 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 630 200 635 "-" "Stretcher Ruby Gem 1.19.0" 0.007
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:7051}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22description\x22],\x22query\x22:\x22sortido\x22}},{\x22multi_match\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22fields\x22:[\x22name.keyword\x22,\x22description.keyword\x22],\x22query\x22:\x22sortido\x22}}]}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:07 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:07 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:07 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 621 200 3977 "-" "Stretcher Ruby Gem 1.19.0" 0.031
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:13464}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22description\x22],\x22query\x22:\x22co\x22}},{\x22multi_match\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22fields\x22:[\x22name.keyword\x22,\x22description.keyword\x22],\x22query\x22:\x22co\x22}}]}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:07 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:07 +0000] "PUT /documents/document/7602786 HTTP/1.1" 2346 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.004
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:09 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:09 +0000] "PUT /documents/document/7602795 HTTP/1.1" 2089 201 85 "-" "Stretcher Ruby Gem 1.19.0" 0.004
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:09 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:09 +0000] "PUT /documents/document/7602791 HTTP/1.1" 2528 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.004
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:12 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:12 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:12 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 627 200 4001 "-" "Stretcher Ruby Gem 1.19.0" 0.014
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:13464}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22description\x22],\x22query\x22:\x22consu\x22}},{\x22multi_match\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22fields\x22:[\x22name.keyword\x22,\x22description.keyword\x22],\x22query\x22:\x22consu\x22}}]}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:13 +0000] "HEAD /clients HTTP/1.1" 305 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:13 +0000] "PUT /clients/client/211386 HTTP/1.1" 861 200 81 "-" "Stretcher Ruby Gem 1.19.0" 0.004
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:13 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:13 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:13 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 633 200 122 "-" "Stretcher Ruby Gem 1.19.0" 0.003
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:13464}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22description\x22],\x22query\x22:\x22consulyt\x22}},{\x22multi_match\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22fields\x22:[\x22name.keyword\x22,\x22description.keyword\x22],\x22query\x22:\x22consulyt\x22}}]}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:14 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:14 +0000] "PUT /documents/document/7602794 HTTP/1.1" 2354 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.005
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:16 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:16 +0000] "PUT /documents/document/7602797 HTTP/1.1" 2459 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:16 +0000] "GET /clients/_search HTTP/1.1" 525 200 2295 "-" "Stretcher Ruby Gem 1.19.0" 0.008
"{\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:16959}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22code\x22],\x22query\x22:\x22SOCI\x22}},{\x22match\x22:{\x22name\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22query\x22:\x22SOCI\x22}}}]}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:17 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:17 +0000] "PUT /items/item/923283 HTTP/1.1" 488 200 79 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:17 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:17 +0000] "HEAD /documents/document HTTP/1.1" 316 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:17 +0000] "GET /documents/document/_search?preference=_primary_first HTTP/1.1" 2842 200 7826 "-" "Stretcher Ruby Gem 1.19.0" 0.067
"{\x22facets\x22:{\x22total_due_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_before_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_drafts_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22draft\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_paid_before_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_paid_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_overdue_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:false,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_canceled_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22canceled\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}}},\x22from\x22:0,\x22size\x22:1000,\x22query\x22:{\x22filtered\x22:{\x22filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22archived\x22:[\x22false\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22draft\x22,\x22sent\x22,\x22settled\x22,\x22canceled\x22,\x22second_copy\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22ids\x22:{\x22values\x22:[\x227602784\x22,\x227602423\x22,\x227601925\x22]}}]}},\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:11813}},\x22minimum_should_match\x22:1}}}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:19 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:19 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:19 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 641 200 3941 "-" "Stretcher Ruby Gem 1.19.0" 0.011
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:13464}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22description\x22],\x22query\x22:\x22consulta de \x22}},{\x22multi_match\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22fields\x22:[\x22name.keyword\x22,\x22description.keyword\x22],\x22query\x22:\x22consulta de \x22}}]}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:23 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:23 +0000] "PUT /items/item/394908 HTTP/1.1" 516 200 80 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:23 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:23 +0000] "HEAD /documents/document HTTP/1.1" 316 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:23 +0000] "GET /documents/document/_search?preference=_primary_first HTTP/1.1" 2861 200 25814 "-" "Stretcher Ruby Gem 1.19.0" 0.074
"{\x22facets\x22:{\x22total_due_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_before_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_drafts_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22draft\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_paid_before_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_paid_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_overdue_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:false,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_canceled_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22canceled\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}}},\x22from\x22:0,\x22size\x22:10,\x22sort\x22:[{\x22date\x22:\x22desc\x22},{\x22final_date\x22:{\x22missing\x22:\x22_last\x22,\x22order\x22:\x22desc\x22}}],\x22query\x22:{\x22filtered\x22:{\x22filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22archived\x22:[false],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22draft\x22,\x22sent\x22,\x22settled\x22,\x22canceled\x22,\x22second_copy\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:4469}},\x22minimum_should_match\x22:1}}}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:23 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 1824 200 708 "-" "Stretcher Ruby Gem 1.19.0" 0.187
"{\x22facets\x22:{\x22today_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:27884}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22,\x22to\x22:\x222015-11-12T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}},\x22this_month_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:27884}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-01T00:00:00+00:00\x22,\x22to\x22:\x222015-11-30T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}},\x22this_year_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:27884}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:24 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:24 +0000] "PUT /items/item/69547 HTTP/1.1" 483 200 77 "-" "Stretcher Ruby Gem 1.19.0" 0.004
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:24 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:24 +0000] "PUT /documents/document/7602798 HTTP/1.1" 3052 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.004
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:29 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:29 +0000] "PUT /documents/document/7602799 HTTP/1.1" 2024 201 85 "-" "Stretcher Ruby Gem 1.19.0" 0.005
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:29 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:29 +0000] "PUT /items/item/923283 HTTP/1.1" 488 200 79 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:30 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:30 +0000] "HEAD /documents/document HTTP/1.1" 316 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:30 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 3023 200 1693 "-" "Stretcher Ruby Gem 1.19.0" 0.059
"{\x22facets\x22:{\x22total_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_taxes\x22}},\x22total_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total\x22}},\x22total_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}},\x22total_drafts_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22draft\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_paid_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_paid_before_taxes\x22}},\x22total_overdue_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:false,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}},\x22total_canceled_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22canceled\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_due_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}}},\x22from\x22:0,\x22size\x22:10,\x22query\x22:{\x22filtered\x22:{\x22filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22archived\x22:[\x22false\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22draft\x22,\x22sent\x22,\x22settled\x22,\x22canceled\x22,\x22second_copy\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22ids\x22:{\x22values\x22:[\x227207413\x22,\x227208305\x22,\x227150904\x22,\x226881783\x22,\x226880773\x22,\x226878474\x22,\x226831920\x22,\x226634224\x22,\x226634196\x22]}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22from\x22:\x222015-07-01T00:00:00+01:00\x22,\x22to\x22:\x222015-09-30T23:59:59+01:00\x22,\x22include_upper\x22:true}}}]}},\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:28634}},\x22minimum_should_match\x22:1}}}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:31 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:31 +0000] "HEAD /documents/document HTTP/1.1" 316 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:31 +0000] "GET /documents/document/_search?preference=_primary_first HTTP/1.1" 3031 200 22415 "-" "Stretcher Ruby Gem 1.19.0" 0.069
"{\x22facets\x22:{\x22total_drafts_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22draft\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_canceled_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22canceled\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_before_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_paid_before_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_paid_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_overdue_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22,\x22include_upper\x22:false}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_due_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22from\x22:\x222015-11-12T00:00:00+00:00\x22,\x22include_lower\x22:true,\x22include_upper\x22:true}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}}},\x22from\x22:0,\x22query\x22:{\x22filtered\x22:{\x22filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22draft\x22,\x22sent\x22,\x22settled\x22,\x22canceled\x22,\x22second_copy\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22archived\x22:[\x22false\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22ids\x22:{\x22values\x22:[\x227207413\x22,\x227208305\x22,\x227150904\x22,\x226881783\x22,\x226880773\x22,\x226878474\x22,\x226831920\x22,\x226634224\x22,\x226634196\x22]}},{\x22range\x22:{\x22date\x22:{\x22to\x22:\x222015-09-30T23:59:59+01:00\x22,\x22from\x22:\x222015-07-01T00:00:00+01:00\x22,\x22include_upper\x22:true,\x22include_lower\x22:true}}}]}},\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:28634}},\x22minimum_should_match\x22:1}}}},\x22size\x22:50}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:31 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:31 +0000] "HEAD /documents/document HTTP/1.1" 316 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:31 +0000] "GET /documents/document/_search?preference=_primary_first HTTP/1.1" 2863 200 18827 "-" "Stretcher Ruby Gem 1.19.0" 0.066
"{\x22facets\x22:{\x22total_drafts_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22draft\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_canceled_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22canceled\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}},\x22total_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_taxes\x22}},\x22total_paid_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_paid_before_taxes\x22}},\x22total_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total\x22}},\x22total_overdue_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:false,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}},\x22total_due_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}}},\x22from\x22:0,\x22size\x22:10,\x22sort\x22:[{\x22date\x22:\x22desc\x22},{\x22final_date\x22:{\x22missing\x22:\x22_last\x22,\x22order\x22:\x22desc\x22}}],\x22query\x22:{\x22filtered\x22:{\x22filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22client_id\x22:[408471],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22draft\x22,\x22sent\x22,\x22settled\x22,\x22canceled\x22,\x22second_copy\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:2685}},\x22minimum_should_match\x22:1}}}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:36 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 2028 200 4126 "-" "Stretcher Ruby Gem 1.19.0" 0.149
"{\x22facets\x22:{\x222013_monthly_invoicing_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:4919}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222013-01-01T00:00:00+00:00\x22,\x22to\x22:\x222013-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}},\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22}},\x222014_monthly_invoicing_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:4919}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222014-01-01T00:00:00+00:00\x22,\x22to\x22:\x222014-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}},\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22}},\x222015_monthly_invoicing_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:4919}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}},\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:37 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:37 +0000] "PUT /documents/document/7602800 HTTP/1.1" 2239 201 85 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:37 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:37 +0000] "PUT /documents/document/7602800 HTTP/1.1" 2239 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:39 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:39 +0000] "PUT /documents/document/7602800 HTTP/1.1" 2277 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:39 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:39 +0000] "PUT /documents/document/7602801 HTTP/1.1" 2012 201 85 "-" "Stretcher Ruby Gem 1.19.0" 0.005
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:40 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:40 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:40 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 620 200 3928 "-" "Stretcher Ruby Gem 1.19.0" 0.009
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:2961}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22description\x22],\x22query\x22:\x22KP\x22}},{\x22multi_match\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22fields\x22:[\x22name.keyword\x22,\x22description.keyword\x22],\x22query\x22:\x22KP\x22}}]}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:42 +0000] "GET /clients/_search HTTP/1.1" 523 200 122 "-" "Stretcher Ruby Gem 1.19.0" 0.003
"{\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:24748}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22code\x22],\x22query\x22:\x22Fui\x22}},{\x22match\x22:{\x22name\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22query\x22:\x22Fui\x22}}}]}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:43 +0000] "GET /clients/_search HTTP/1.1" 519 200 3258 "-" "Stretcher Ruby Gem 1.19.0" 0.012
"{\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:24748}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22code\x22],\x22query\x22:\x22F\x22}},{\x22match\x22:{\x22name\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22query\x22:\x22F\x22}}}]}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:44 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:44 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:44 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 445 200 4030 "-" "Stretcher Ruby Gem 1.19.0" 0.005
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:30063}},\x22minimum_should_match\x22:1}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:51 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:51 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:51 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 445 200 4030 "-" "Stretcher Ruby Gem 1.19.0" 0.005
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:30063}},\x22minimum_should_match\x22:1}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:52 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:52 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:52 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 627 200 629 "-" "Stretcher Ruby Gem 1.19.0" 0.005
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:30063}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22description\x22],\x22query\x22:\x22cosmo\x22}},{\x22multi_match\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22fields\x22:[\x22name.keyword\x22,\x22description.keyword\x22],\x22query\x22:\x22cosmo\x22}}]}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:53 +0000] "GET /clients/_search HTTP/1.1" 523 200 576 "-" "Stretcher Ruby Gem 1.19.0" 0.029
"{\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:12580}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22code\x22],\x22query\x22:\x22Lia\x22}},{\x22match\x22:{\x22name\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22query\x22:\x22Lia\x22}}}]}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:55 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:55 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:55 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 620 200 3875 "-" "Stretcher Ruby Gem 1.19.0" 0.013
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:2961}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22description\x22],\x22query\x22:\x22MK\x22}},{\x22multi_match\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22fields\x22:[\x22name.keyword\x22,\x22description.keyword\x22],\x22query\x22:\x22MK\x22}}]}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:55 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:55 +0000] "PUT /items/item/928517 HTTP/1.1" 514 200 77 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:56 +0000] "HEAD /clients HTTP/1.1" 305 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:56 +0000] "PUT /clients/client/1625722 HTTP/1.1" 776 200 82 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:56 +0000] "GET /clients/_search HTTP/1.1" 534 200 122 "-" "Stretcher Ruby Gem 1.19.0" 0.003
"{\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:4469}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22code\x22],\x22query\x22:\x22GIOVANINA\x22}},{\x22match\x22:{\x22name\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22query\x22:\x22GIOVANINA\x22}}}]}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:56 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:26:56 +0000] "PUT /documents/document/7602802 HTTP/1.1" 8432 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.005
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:56 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 1490 200 1323 "-" "Stretcher Ruby Gem 1.19.0" 0.345
"{\x22facets\x22:{\x22quarterly_taxes_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22quarter\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:6258}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}},\x22quarterly_total_before_taxes_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes_with_retention\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22quarter\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:6258}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:59 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:26:59 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:00 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 620 200 3875 "-" "Stretcher Ruby Gem 1.19.0" 0.012
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:2961}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22description\x22],\x22query\x22:\x22MK\x22}},{\x22multi_match\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22fields\x22:[\x22name.keyword\x22,\x22description.keyword\x22],\x22query\x22:\x22MK\x22}}]}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:00 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:00 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:00 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 626 200 640 "-" "Stretcher Ruby Gem 1.19.0" 0.005
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:2961}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22description\x22],\x22query\x22:\x22MK210\x22}},{\x22multi_match\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22fields\x22:[\x22name.keyword\x22,\x22description.keyword\x22],\x22query\x22:\x22MK210\x22}}]}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:03 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 1824 200 724 "-" "Stretcher Ruby Gem 1.19.0" 0.145
"{\x22facets\x22:{\x22today_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:20437}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22,\x22to\x22:\x222015-11-12T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}},\x22this_month_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:20437}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-01T00:00:00+00:00\x22,\x22to\x22:\x222015-11-30T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}},\x22this_year_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:20437}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:04 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:04 +0000] "HEAD /documents/document HTTP/1.1" 316 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:04 +0000] "GET /documents/document/_search?preference=_primary_first HTTP/1.1" 2865 200 3492 "-" "Stretcher Ruby Gem 1.19.0" 0.062
"{\x22facets\x22:{\x22total_due_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}},\x22total_drafts_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22draft\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_canceled_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22canceled\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}},\x22total_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_taxes\x22}},\x22total_paid_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_paid_before_taxes\x22}},\x22total_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total\x22}},\x22total_overdue_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:false,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}}},\x22from\x22:0,\x22size\x22:10,\x22sort\x22:[{\x22date\x22:\x22desc\x22},{\x22final_date\x22:{\x22missing\x22:\x22_last\x22,\x22order\x22:\x22desc\x22}}],\x22query\x22:{\x22filtered\x22:{\x22filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22client_id\x22:[1571291],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22draft\x22,\x22sent\x22,\x22settled\x22,\x22canceled\x22,\x22second_copy\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:12032}},\x22minimum_should_match\x22:1}}}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:06 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 1122 200 1077 "-" "Stretcher Ruby Gem 1.19.0" 0.261
"{\x22facets\x22:{\x22top_debtors_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:20437}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}}]}},\x22terms_stats\x22:{\x22key_field\x22:\x22client.name.untouched\x22,\x22value_field\x22:\x22signed_total_remaining_before_taxes\x22,\x22order\x22:\x22total\x22,\x22size\x22:5}},\x22total_debt_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:20437}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:07 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:07 +0000] "PUT /documents/document/7602792 HTTP/1.1" 2242 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.004
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:07 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:07 +0000] "PUT /items/item/794561 HTTP/1.1" 512 200 78 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:07 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:07 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:07 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 444 200 3833 "-" "Stretcher Ruby Gem 1.19.0" 0.003
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:2961}},\x22minimum_should_match\x22:1}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:09 +0000] "GET /clients/_search HTTP/1.1" 370 200 5244 "-" "Stretcher Ruby Gem 1.19.0" 0.004
"{\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:3165}}}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:11 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:11 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:11 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 673 200 4284 "-" "Stretcher Ruby Gem 1.19.0" 0.013
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:12580}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22description\x22],\x22query\x22:\x22presta\x5Cu00e7\x5Cu00e3o do apara\x22}},{\x22multi_match\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22fields\x22:[\x22name.keyword\x22,\x22description.keyword\x22],\x22query\x22:\x22presta\x5Cu00e7\x5Cu00e3o do apara\x22}}]}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:11 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:11 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:11 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 673 200 4372 "-" "Stretcher Ruby Gem 1.19.0" 0.005
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:12580}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22description\x22],\x22query\x22:\x22presta\x5Cu00e7\x5Cu00e3o do apare\x22}},{\x22multi_match\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22fields\x22:[\x22name.keyword\x22,\x22description.keyword\x22],\x22query\x22:\x22presta\x5Cu00e7\x5Cu00e3o do apare\x22}}]}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:13 +0000] "GET /clients/_search HTTP/1.1" 520 200 4707 "-" "Stretcher Ruby Gem 1.19.0" 0.009
"{\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:3165}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22code\x22],\x22query\x22:\x22Ra\x22}},{\x22match\x22:{\x22name\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22query\x22:\x22Ra\x22}}}]}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:13 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:13 +0000] "PUT /documents/document/7602803 HTTP/1.1" 2230 201 85 "-" "Stretcher Ruby Gem 1.19.0" 0.005
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:13 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:13 +0000] "PUT /documents/document/7602803 HTTP/1.1" 2230 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:14 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:14 +0000] "PUT /documents/document/7602795 HTTP/1.1" 2089 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.005
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:14 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:14 +0000] "PUT /items/item/928520 HTTP/1.1" 496 200 77 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:15 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:15 +0000] "PUT /documents/document/7602804 HTTP/1.1" 2805 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:15 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:15 +0000] "PUT /documents/document/7602804 HTTP/1.1" 2805 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.004
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:15 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 2225 200 1357 "-" "Stretcher Ruby Gem 1.19.0" 0.303
"{\x22facets\x22:{\x22monthly_due_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22due_date\x22,\x22value_field\x22:\x22signed_total_remaining_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22term\x22:{\x22account_id\x22:8986}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-08-01T00:00:00+01:00\x22,\x22to\x22:\x222016-02-29T23:59:59+00:00\x22}}}]}}},\x22monthly_overdue_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22due_date\x22,\x22value_field\x22:\x22signed_total_remaining_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:false,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22term\x22:{\x22account_id\x22:8986}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-08-01T00:00:00+01:00\x22,\x22to\x22:\x222016-02-29T23:59:59+00:00\x22}}}]}}},\x22monthly_collected_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22due_date\x22,\x22value_field\x22:\x22signed_total_paid_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:8986}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-08-01T00:00:00+01:00\x22,\x22to\x22:\x222016-02-29T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22second_copy\x22,\x22settled\x22]}}]}}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:15 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 1490 200 1294 "-" "Stretcher Ruby Gem 1.19.0" 0.149
"{\x22facets\x22:{\x22quarterly_taxes_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22quarter\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:8986}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}},\x22quarterly_total_before_taxes_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes_with_retention\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22quarter\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:8986}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:16 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:16 +0000] "PUT /items/item/528077 HTTP/1.1" 445 200 77 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:18 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:18 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:18 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 444 200 3833 "-" "Stretcher Ruby Gem 1.19.0" 0.005
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:2961}},\x22minimum_should_match\x22:1}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:18 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:18 +0000] "PUT /documents/document/7602804 HTTP/1.1" 2869 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:18 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:18 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:18 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 620 200 3874 "-" "Stretcher Ruby Gem 1.19.0" 0.012
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:2961}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22description\x22],\x22query\x22:\x22MK\x22}},{\x22multi_match\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22fields\x22:[\x22name.keyword\x22,\x22description.keyword\x22],\x22query\x22:\x22MK\x22}}]}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:18 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:18 +0000] "HEAD /documents/document HTTP/1.1" 316 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:19 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 2912 200 1693 "-" "Stretcher Ruby Gem 1.19.0" 0.065
"{\x22facets\x22:{\x22total_due_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_before_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_drafts_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22draft\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_paid_before_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_paid_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_overdue_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:false,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_canceled_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22canceled\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}}},\x22from\x22:0,\x22size\x22:10,\x22query\x22:{\x22filtered\x22:{\x22filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22archived\x22:[\x22false\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22draft\x22,\x22sent\x22,\x22settled\x22,\x22canceled\x22,\x22second_copy\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22from\x22:\x222015-07-01T00:00:00+01:00\x22,\x22to\x22:\x222015-09-30T23:59:59+01:00\x22,\x22include_upper\x22:true}}}]}},\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:28634}},\x22minimum_should_match\x22:1}}}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:19 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:19 +0000] "PUT /documents/document/7602806 HTTP/1.1" 2018 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:20 +0000] "HEAD /clients HTTP/1.1" 305 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:20 +0000] "PUT /clients/client/1638453 HTTP/1.1" 766 201 81 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:20 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:20 +0000] "PUT /items/item/928521 HTTP/1.1" 487 201 76 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:21 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:21 +0000] "HEAD /documents/document HTTP/1.1" 316 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:21 +0000] "GET /documents/document/_search?preference=_primary_first HTTP/1.1" 2861 200 24589 "-" "Stretcher Ruby Gem 1.19.0" 0.072
"{\x22facets\x22:{\x22total_due_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}},\x22total_drafts_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22draft\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_canceled_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22canceled\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}},\x22total_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_taxes\x22}},\x22total_paid_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_paid_before_taxes\x22}},\x22total_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total\x22}},\x22total_overdue_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:false,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}}},\x22from\x22:0,\x22size\x22:10,\x22sort\x22:[{\x22date\x22:\x22desc\x22},{\x22final_date\x22:{\x22missing\x22:\x22_last\x22,\x22order\x22:\x22desc\x22}}],\x22query\x22:{\x22filtered\x22:{\x22filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22archived\x22:[false],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22draft\x22,\x22sent\x22,\x22settled\x22,\x22canceled\x22,\x22second_copy\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:8986}},\x22minimum_should_match\x22:1}}}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:21 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:21 +0000] "PUT /documents/document/7602808 HTTP/1.1" 2531 201 85 "-" "Stretcher Ruby Gem 1.19.0" 0.025
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:24 +0000] "HEAD /clients HTTP/1.1" 305 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:24 +0000] "PUT /clients/client/1638454 HTTP/1.1" 682 201 81 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:24 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:24 +0000] "PUT /items/item/928521 HTTP/1.1" 489 200 77 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:24 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:24 +0000] "PUT /documents/document/7602809 HTTP/1.1" 2213 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:25 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:25 +0000] "PUT /documents/document/7602809 HTTP/1.1" 2244 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:28 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:28 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:28 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 444 200 3928 "-" "Stretcher Ruby Gem 1.19.0" 0.004
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:4469}},\x22minimum_should_match\x22:1}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:29 +0000] "HEAD /clients HTTP/1.1" 305 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:29 +0000] "HEAD /clients/client HTTP/1.1" 312 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:29 +0000] "GET /clients/client/_search?preference=_primary_first HTTP/1.1" 483 200 7303 "-" "Stretcher Ruby Gem 1.19.0" 0.004
"{\x22from\x22:0,\x22size\x22:10,\x22sort\x22:[{\x22name.untouched\x22:\x22asc\x22}],\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:11512}},\x22minimum_should_match\x22:1}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:30 +0000] "HEAD /clients HTTP/1.1" 305 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:30 +0000] "PUT /clients/client/581996 HTTP/1.1" 802 200 81 "-" "Stretcher Ruby Gem 1.19.0" 0.004
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:30 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:30 +0000] "PUT /documents/document/7602762 HTTP/1.1" 2330 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:30 +0000] "HEAD /clients HTTP/1.1" 305 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:30 +0000] "PUT /clients/client/506684 HTTP/1.1" 687 200 81 "-" "Stretcher Ruby Gem 1.19.0" 0.004
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:30 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:30 +0000] "PUT /documents/document/7602808 HTTP/1.1" 2570 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.004
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:31 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:31 +0000] "PUT /documents/document/7602808 HTTP/1.1" 2568 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.005
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:34 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 2028 200 3640 "-" "Stretcher Ruby Gem 1.19.0" 0.266
"{\x22facets\x22:{\x222013_monthly_invoicing_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:5442}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222013-01-01T00:00:00+00:00\x22,\x22to\x22:\x222013-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}},\x222014_monthly_invoicing_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:5442}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222014-01-01T00:00:00+00:00\x22,\x22to\x22:\x222014-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}},\x222015_monthly_invoicing_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:5442}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:34 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 1120 200 1030 "-" "Stretcher Ruby Gem 1.19.0" 0.222
"{\x22facets\x22:{\x22top_debtors_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:5442}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}}]}},\x22terms_stats\x22:{\x22key_field\x22:\x22client.name.untouched\x22,\x22value_field\x22:\x22signed_total_remaining_before_taxes\x22,\x22order\x22:\x22total\x22,\x22size\x22:5}},\x22total_debt_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:5442}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}}]}}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:34 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 2225 200 433 "-" "Stretcher Ruby Gem 1.19.0" 0.291
"{\x22facets\x22:{\x22monthly_due_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22due_date\x22,\x22value_field\x22:\x22signed_total_remaining_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22term\x22:{\x22account_id\x22:5442}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-08-01T00:00:00+01:00\x22,\x22to\x22:\x222016-02-29T23:59:59+00:00\x22}}}]}}},\x22monthly_overdue_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22due_date\x22,\x22value_field\x22:\x22signed_total_remaining_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:false,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22term\x22:{\x22account_id\x22:5442}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-08-01T00:00:00+01:00\x22,\x22to\x22:\x222016-02-29T23:59:59+00:00\x22}}}]}}},\x22monthly_collected_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22due_date\x22,\x22value_field\x22:\x22signed_total_paid_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:5442}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-08-01T00:00:00+01:00\x22,\x22to\x22:\x222016-02-29T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22second_copy\x22,\x22settled\x22]}}]}}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:34 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:34 +0000] "HEAD /documents/document HTTP/1.1" 316 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:34 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 2832 200 1671 "-" "Stretcher Ruby Gem 1.19.0" 0.056
"{\x22facets\x22:{\x22total_due_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_before_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}},\x22total_drafts_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22draft\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_paid_before_taxes_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_paid_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_overdue_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:false,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}},\x22total_canceled_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22canceled\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}}}},\x22from\x22:0,\x22size\x22:10,\x22query\x22:{\x22filtered\x22:{\x22filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22archived\x22:[\x22false\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22draft\x22,\x22sent\x22,\x22settled\x22,\x22canceled\x22,\x22second_copy\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22ids\x22:{\x22values\x22:[\x226318441\x22,\x226318448\x22,\x226318456\x22]}}]}},\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:20066}},\x22minimum_should_match\x22:1}}}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:37 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:37 +0000] "PUT /documents/document/7602810 HTTP/1.1" 2244 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:37 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:37 +0000] "PUT /documents/document/7602810 HTTP/1.1" 2244 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:40 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:40 +0000] "PUT /documents/document/7602811 HTTP/1.1" 2394 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:40 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:40 +0000] "PUT /items/item/553341 HTTP/1.1" 514 200 79 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:42 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:42 +0000] "PUT /documents/document/7602812 HTTP/1.1" 2030 201 85 "-" "Stretcher Ruby Gem 1.19.0" 0.003
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:43 +0000] "HEAD /items HTTP/1.1" 303 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:43 +0000] "HEAD /items/item HTTP/1.1" 308 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:43 +0000] "GET /items/item/_search?preference=_primary_first HTTP/1.1" 634 200 3616 "-" "Stretcher Ruby Gem 1.19.0" 0.006
"{\x22from\x22:0,\x22size\x22:15,\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:4469}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22description\x22],\x22query\x22:\x22Roncato \x22}},{\x22multi_match\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22fields\x22:[\x22name.keyword\x22,\x22description.keyword\x22],\x22query\x22:\x22Roncato \x22}}]}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:43 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 1824 200 755 "-" "Stretcher Ruby Gem 1.19.0" 0.167
"{\x22facets\x22:{\x22today_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:28634}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22,\x22to\x22:\x222015-11-12T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}},\x22this_month_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:28634}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-01T00:00:00+00:00\x22,\x22to\x22:\x222015-11-30T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}},\x22this_year_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:28634}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:44 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 1492 200 732 "-" "Stretcher Ruby Gem 1.19.0" 0.137
"{\x22facets\x22:{\x22quarterly_taxes_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22quarter\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:28634}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}},\x22quarterly_total_before_taxes_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes_with_retention\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22quarter\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:28634}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:44 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 1122 200 378 "-" "Stretcher Ruby Gem 1.19.0" 0.109
"{\x22facets\x22:{\x22top_debtors_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:28634}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}}]}},\x22terms_stats\x22:{\x22key_field\x22:\x22client.name.untouched\x22,\x22value_field\x22:\x22signed_total_remaining_before_taxes\x22,\x22order\x22:\x22total\x22,\x22size\x22:5}},\x22total_debt_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:28634}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}}]}}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:44 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:45 +0000] "PUT /documents/document/7602801 HTTP/1.1" 2012 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.004
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:47 +0000] "GET /clients/_search HTTP/1.1" 541 200 1763 "-" "Stretcher Ruby Gem 1.19.0" 0.027
"{\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:12708}},\x22minimum_should_match\x22:1,\x22should\x22:[{\x22multi_match\x22:{\x22fields\x22:[\x22name\x22,\x22code\x22],\x22query\x22:\x22Jos\x5Cu00e9 Iv\x22}},{\x22match\x22:{\x22name\x22:{\x22type\x22:\x22phrase_prefix\x22,\x22query\x22:\x22Jos\x5Cu00e9 Iv\x22}}}]}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:50 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:50 +0000] "HEAD /documents/document HTTP/1.1" 316 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:50 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 2912 200 1697 "-" "Stretcher Ruby Gem 1.19.0" 0.120
"{\x22facets\x22:{\x22total_drafts_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22draft\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_canceled_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22canceled\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}},\x22total_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_taxes\x22}},\x22total_paid_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_paid_before_taxes\x22}},\x22total_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total\x22}},\x22total_overdue_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:false,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}},\x22total_due_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}}},\x22from\x22:0,\x22size\x22:10,\x22query\x22:{\x22filtered\x22:{\x22filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22archived\x22:[\x22false\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22draft\x22,\x22sent\x22,\x22settled\x22,\x22canceled\x22,\x22second_copy\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22ids\x22:{\x22values\x22:[\x226318441\x22,\x226318448\x22,\x226318456\x22,\x226318462\x22,\x226318464\x22,\x226318455\x22,\x226668798\x22,\x226629330\x22,\x226629290\x22,\x226629142\x22,\x226669151\x22]}}]}},\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:20066}},\x22minimum_should_match\x22:1}}}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:50 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 2228 200 1786 "-" "Stretcher Ruby Gem 1.19.0" 0.336
"{\x22facets\x22:{\x22monthly_due_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22due_date\x22,\x22value_field\x22:\x22signed_total_remaining_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22term\x22:{\x22account_id\x22:16959}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-08-01T00:00:00+01:00\x22,\x22to\x22:\x222016-02-29T23:59:59+00:00\x22}}}]}}},\x22monthly_overdue_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22due_date\x22,\x22value_field\x22:\x22signed_total_remaining_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:false,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22term\x22:{\x22account_id\x22:16959}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-08-01T00:00:00+01:00\x22,\x22to\x22:\x222016-02-29T23:59:59+00:00\x22}}}]}}},\x22monthly_collected_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22due_date\x22,\x22value_field\x22:\x22signed_total_paid_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:16959}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-08-01T00:00:00+01:00\x22,\x22to\x22:\x222016-02-29T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22second_copy\x22,\x22settled\x22]}}]}}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:50 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:50 +0000] "PUT /documents/document/7602813 HTTP/1.1" 2397 201 85 "-" "Stretcher Ruby Gem 1.19.0" 0.005
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:50 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 1824 200 724 "-" "Stretcher Ruby Gem 1.19.0" 0.161
"{\x22facets\x22:{\x22today_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:20437}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22,\x22to\x22:\x222015-11-12T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}},\x22this_month_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:20437}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-01T00:00:00+00:00\x22,\x22to\x22:\x222015-11-30T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}},\x22this_year_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:20437}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:53 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 1492 200 1118 "-" "Stretcher Ruby Gem 1.19.0" 0.216
"{\x22facets\x22:{\x22quarterly_taxes_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22quarter\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:20437}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}},\x22quarterly_total_before_taxes_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes_with_retention\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22quarter\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:20437}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:53 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 1122 200 1077 "-" "Stretcher Ruby Gem 1.19.0" 0.223
"{\x22facets\x22:{\x22top_debtors_facet\x22:{\x22terms_stats\x22:{\x22key_field\x22:\x22client.name.untouched\x22,\x22value_field\x22:\x22signed_total_remaining_before_taxes\x22,\x22order\x22:\x22total\x22,\x22size\x22:5},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:20437}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}}]}}},\x22total_debt_facet\x22:{\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:20437}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}}]}}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:53 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 2031 200 2230 "-" "Stretcher Ruby Gem 1.19.0" 0.284
"{\x22facets\x22:{\x222015_monthly_invoicing_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:20437}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-01-01T00:00:00+00:00\x22,\x22to\x22:\x222015-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}},\x222013_monthly_invoicing_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:20437}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222013-01-01T00:00:00+00:00\x22,\x22to\x22:\x222013-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}},\x222014_monthly_invoicing_facet\x22:{\x22date_histogram\x22:{\x22key_field\x22:\x22date\x22,\x22value_field\x22:\x22signed_total_before_taxes\x22,\x22time_zone\x22:\x22Portugal\x22,\x22interval\x22:\x22month\x22},\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22account_id\x22:20437}},{\x22range\x22:{\x22date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222014-01-01T00:00:00+00:00\x22,\x22to\x22:\x222014-12-31T23:59:59+00:00\x22}}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22]}}]}}}},\x22query\x22:{\x22match_all\x22:{}}}"
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:56 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:56 +0000] "HEAD /documents/document HTTP/1.1" 316 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.001
54.77.214.112 - - 52.17.102.167 [12/Nov/2015:18:27:56 +0000] "GET /documents/document/_search?search_type=count HTTP/1.1" 2972 200 1690 "-" "Stretcher Ruby Gem 1.19.0" 0.054
"{\x22facets\x22:{\x22total_overdue_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:false,\x22to\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}},\x22total_canceled_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22canceled\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_due_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22bool\x22:{\x22must\x22:[{\x22range\x22:{\x22due_date\x22:{\x22include_lower\x22:true,\x22include_upper\x22:true,\x22from\x22:\x222015-11-12T00:00:00+00:00\x22}}},{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}}]}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_remaining_before_taxes\x22}},\x22total_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_taxes\x22}},\x22total_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total\x22}},\x22total_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes_with_retention\x22}},\x22total_drafts_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22term\x22:{\x22status\x22:\x22draft\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_before_taxes\x22}},\x22total_paid_before_taxes_facet\x22:{\x22facet_filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22status\x22:[\x22sent\x22,\x22settled\x22,\x22second_copy\x22],\x22execution\x22:\x22bool\x22}},{\x22bool\x22:{\x22must_not\x22:{\x22term\x22:{\x22type\x22:\x22Receipt\x22}}}}]}},\x22statistical\x22:{\x22field\x22:\x22signed_total_paid_before_taxes\x22}}},\x22from\x22:0,\x22size\x22:10,\x22query\x22:{\x22filtered\x22:{\x22filter\x22:{\x22bool\x22:{\x22must\x22:[{\x22terms\x22:{\x22archived\x22:[\x22false\x22],\x22execution\x22:\x22bool\x22}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22status\x22:[\x22draft\x22,\x22sent\x22,\x22settled\x22,\x22canceled\x22,\x22second_copy\x22]}},{\x22terms\x22:{\x22execution\x22:\x22bool\x22,\x22type\x22:[\x22Invoice\x22,\x22CashInvoice\x22,\x22DebitNote\x22,\x22InvoiceReceipt\x22,\x22SimplifiedInvoice\x22,\x22CreditNote\x22]}},{\x22ids\x22:{\x22values\x22:[\x226318441\x22,\x226318448\x22,\x226318456\x22,\x226318462\x22,\x226318464\x22,\x226318455\x22,\x226668798\x22,\x226629330\x22,\x226629290\x22,\x226629142\x22,\x226669151\x22,\x226669158\x22,\x226669170\x22,\x226669182\x22,\x226669205\x22,\x226708509\x22,\x226920204\x22]}}]}},\x22query\x22:{\x22bool\x22:{\x22must\x22:{\x22match\x22:{\x22account_id\x22:20066}},\x22minimum_should_match\x22:1}}}}}"
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:57 +0000] "HEAD /documents HTTP/1.1" 307 200 0 "-" "Stretcher Ruby Gem 1.19.0" 0.002
54.171.120.229 - - 52.17.102.167 [12/Nov/2015:18:27:57 +0000] "PUT /documents/document/7602813 HTTP/1.1" 2411 200 86 "-" "Stretcher Ruby Gem 1.19.0" 0.005
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment