Input XML:
<root>
<id>trans-123</id>
<transactions>
<transaction>
<sku>123</sku>
<price currency="GBP">100<price>
</transaction>
The Farseer Trilogy:
- Assassin's Apprentice
- Royal Assassin
- Assassin's Quest
Followed by the Liveship Traders Trilogy
- Ship of Magic
- Mad Ship
- Ship of Destiny
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// -- ** ELASTICSEARCH | |
List<HttpHost> httpHost = new ArrayList<>(); | |
httpHost.add(new HttpHost("127.0.0.1", 9200, "http")); | |
ElasticsearchSink.Builder<String> esSinkBuilder = new ElasticsearchSink.Builder<>( | |
httpHost, | |
new ElasticsearchSinkFunction<String>() { | |
public IndexRequest createIndexRequest(String element) { | |
// Map<String, String> json = new HashMap<>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## CURRENT | |
Site Admin - EVERYTHING - Chris | |
- Marriott | |
- Admin | |
- Michael | |
- Chirs | |
- Users - Employee | |
- Dave | |
- Bob | |
etc... |
Cloud Signup Link:https://www.elastic.co/cloud/as-a-service/signup
Metricbeat Getting started Link: https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-getting-started.html
Username: elastic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"trigger": { | |
"schedule": { | |
"interval": "1m" | |
} | |
}, | |
"input": { | |
"search": { | |
"request": { | |
"indices": "##INDEX##", |
Issues with timestamp parsing with python:
Most of your timestamps come out as such:
YYYY-mm-DDTHH:MM:SS.%fZ 2017-01-09T20:44:16.241201Z
However I have just see this: 2017-01-08T15:02:41.1218785Z
NewerOlder