Skip to content

Instantly share code, notes, and snippets.

@pjanzen
Created January 30, 2019 12:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjanzen/ab49dfc6974471f0f3434481d9b7d719 to your computer and use it in GitHub Desktop.
Save pjanzen/ab49dfc6974471f0f3434481d9b7d719 to your computer and use it in GitHub Desktop.
{
"host" => "tb-clog-ls1",
"@timestamp" => 2019-01-30T12:00:22.231Z,
"@version" => "1",
"message" => "<PurchaseOrders><PurchaseOrder PurchaseOrderNumber=\"99503\" OrderDate=\"1999-10-20\"><Address Type=\"Shipping\"><Name>Ellen Adams</Name><Street>123 Maple Street</Street><City>Mill Valley</City><State>CA</State><Zip>10999</Zip><Country>USA</Country></Address><DeliveryNotes>Please leave packages in shed by driveway.</DeliveryNotes><Items><Item PartNumber=\"872-AA\"><ProductName>Lawnmower</ProductName><Quantity>1</Quantity><USPrice>148.95</USPrice><Comment>Confirm this is electric</Comment></Item><Item PartNumber=\"926-AA\"><ProductName>Baby Monitor</ProductName><Quantity>2</Quantity><USPrice>39.98</USPrice><ShipDate>1999-05-21</ShipDate></Item></Items></PurchaseOrder><PurchaseOrder PurchaseOrderNumber=\"99505\" OrderDate=\"1999-10-22\"><Address Type=\"Shipping\"><Name>Cristian Osorio</Name><Street>456 Main Street</Street><City>Buffalo</City><State>NY</State><Zip>98112</Zip><Country>USA</Country></Address><Address Type=\"Billing\"><Name>Cristian Osorio</Name><Street>456 Main Street</Street><City>Buffalo</City><State>NY</State><Zip>98112</Zip><Country>USA</Country></Address><DeliveryNotes>Please notify me before shipping.</DeliveryNotes><Items><Item PartNumber=\"456-NM\"><ProductName>Power Supply</ProductName><Quantity>1</Quantity><USPrice>45.99</USPrice></Item></Items></PurchaseOrder><PurchaseOrder PurchaseOrderNumber=\"99504\" OrderDate=\"1999-10-22\"><Address Type=\"Shipping\"><Name>Jessica Arnold</Name><Street>4055 Madison Ave</Street><City>Seattle</City><State>WA</State><Zip>98112</Zip><Country>USA</Country></Address><Address Type=\"Billing\"><Name>Jessica Arnold</Name><Street>4055 Madison Ave</Street><City>Buffalo</City><State>NY</State><Zip>98112</Zip><Country>USA</Country></Address><Items><Item PartNumber=\"898-AZ\"><ProductName>Computer Keyboard</ProductName><Quantity>1</Quantity><USPrice>29.99</USPrice></Item><Item PartNumber=\"898-AM\"><ProductName>Wireless Mouse</ProductName><Quantity>1</Quantity><USPrice>14.99</USPrice></Item></Items></PurchaseOrder></PurchaseOrders>",
"doc" => {
"PurchaseOrder" => [
[0] {
"PurchaseOrderNumber" => "99503",
"DeliveryNotes" => [
[0] "Please leave packages in shed by driveway."
],
"OrderDate" => "1999-10-20",
"Items" => [
[0] {
"Item" => [
[0] {
"Comment" => [
[0] "Confirm this is electric"
],
"USPrice" => [
[0] "148.95"
],
"ProductName" => [
[0] "Lawnmower"
],
"PartNumber" => "872-AA",
"Quantity" => [
[0] "1"
]
},
[1] {
"USPrice" => [
[0] "39.98"
],
"ShipDate" => [
[0] "1999-05-21"
],
"ProductName" => [
[0] "Baby Monitor"
],
"PartNumber" => "926-AA",
"Quantity" => [
[0] "2"
]
}
]
}
],
"Address" => [
[0] {
"Type" => "Shipping",
"Street" => [
[0] "123 Maple Street"
],
"Country" => [
[0] "USA"
],
"Name" => [
[0] "Ellen Adams"
],
"City" => [
[0] "Mill Valley"
],
"Zip" => [
[0] "10999"
],
"State" => [
[0] "CA"
]
}
]
},
[1] {
"PurchaseOrderNumber" => "99505",
"DeliveryNotes" => [
[0] "Please notify me before shipping."
],
"OrderDate" => "1999-10-22",
"Items" => [
[0] {
"Item" => [
[0] {
"USPrice" => [
[0] "45.99"
],
"ProductName" => [
[0] "Power Supply"
],
"PartNumber" => "456-NM",
"Quantity" => [
[0] "1"
]
}
]
}
],
"Address" => [
[0] {
"Type" => "Shipping",
"Street" => [
[0] "456 Main Street"
],
"Country" => [
[0] "USA"
],
"Name" => [
[0] "Cristian Osorio"
],
"City" => [
[0] "Buffalo"
],
"Zip" => [
[0] "98112"
],
"State" => [
[0] "NY"
]
},
[1] {
"Type" => "Billing",
"Street" => [
[0] "456 Main Street"
],
"Country" => [
[0] "USA"
],
"Name" => [
[0] "Cristian Osorio"
],
"City" => [
[0] "Buffalo"
],
"Zip" => [
[0] "98112"
],
"State" => [
[0] "NY"
]
}
]
},
[2] {
"PurchaseOrderNumber" => "99504",
"OrderDate" => "1999-10-22",
"Items" => [
[0] {
"Item" => [
[0] {
"USPrice" => [
[0] "29.99"
],
"ProductName" => [
[0] "Computer Keyboard"
],
"PartNumber" => "898-AZ",
"Quantity" => [
[0] "1"
]
},
[1] {
"USPrice" => [
[0] "14.99"
],
"ProductName" => [
[0] "Wireless Mouse"
],
"PartNumber" => "898-AM",
"Quantity" => [
[0] "1"
]
}
]
}
],
"Address" => [
[0] {
"Type" => "Shipping",
"Street" => [
[0] "4055 Madison Ave"
],
"Country" => [
[0] "USA"
],
"Name" => [
[0] "Jessica Arnold"
],
"City" => [
[0] "Seattle"
],
"Zip" => [
[0] "98112"
],
"State" => [
[0] "WA"
]
},
[1] {
"Type" => "Billing",
"Street" => [
[0] "4055 Madison Ave"
],
"Country" => [
[0] "USA"
],
"Name" => [
[0] "Jessica Arnold"
],
"City" => [
[0] "Buffalo"
],
"Zip" => [
[0] "98112"
],
"State" => [
[0] "NY"
]
}
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment