Upgrade to Pro — share decks privately, control downloads, hide ads and more …

X-Pack Basic

X-Pack Basic

It's free, it adds value, it's easy to install, and yet far too few people know about it: Elastic's X-Pack Basic license
This presentation takes a look at "what", "how", and "why".

Philipp Krenn

April 18, 2017
Tweet

More Decks by Philipp Krenn

Other Decks in Programming

Transcript

  1. $ curl -XGET 'http://localhost:9200/_nodes/stats?pretty' { "_nodes" : { "total" :

    1, "successful" : 1, "failed" : 0 }, "cluster_name" : "elasticsearch", "nodes" : { "Koy5OmQ5RoiuFlL_TQ2Ngg" : { "timestamp" : 1492549940504, "name" : "Koy5OmQ", "transport_address" : "127.0.0.1:9300", "host" : "127.0.0.1", "ip" : "127.0.0.1:9300", "roles" : [ "master", "data", "ingest" ], "indices" : { "docs" : { "count" : 2332, "deleted" : 90 }, "store" : { "size_in_bytes" : 1336316, "throttle_time_in_millis" : 0 }, "indexing" : { "index_total" : 7431, "index_time_in_millis" : 4394, ...
  2. $ curl -XGET 'http://localhost:9200/apache_elk_example/_search?pretty' -H "Content-Type: application/json" -d '{ "profile":

    true, "size": 0, "query": { "bool": { "should": [ { "match": { "agent": "Mozilla" }}, { "match_phrase": { "geoip.country_code3": "AT" }} ] } } }' ... "profile" : { "shards" : [ { "id" : "[Koy5OmQ5RoiuFlL_TQ2Ngg][apache_elk_example][0]", "searches" : [ { "query" : [ { "type" : "BooleanQuery", "description" : "agent:mozilla geoip.country_code3:at", "time" : "2.366942000ms", "time_in_nanos" : 2366942, "breakdown" : { "score" : 0, "build_scorer_count" : 5, ...
  3. How

  4. $ curl -XGET -u elastic:changeme 'http://localhost:9200/_xpack/license' { "license" : {

    "status" : "active", "uid" : "...", "type" : "trial", "issue_date" : "2017-04-18T20:41:50.233Z", "issue_date_in_millis" : 1492548110233, "expiry_date" : "2017-05-18T20:41:50.233Z", "expiry_date_in_millis" : 1495140110233, "max_nodes" : 1000, "issued_to" : "elasticsearch", "issuer" : "elasticsearch", "start_date_in_millis" : -1 } }
  5. $ curl -XGET 'http://localhost:9200/_xpack/license' { "license" : { "status" :

    "active", "uid" : "...", "type" : "basic", "issue_date" : "2017-04-18T00:00:00.000Z", "issue_date_in_millis" : 1492473600000, "expiry_date" : "2018-04-18T23:59:59.999Z", "expiry_date_in_millis" : 1524095999999, "max_nodes" : 100, "issued_to" : "Philipp Krenn (Elastic)", "issuer" : "Web Form", "start_date_in_millis" : 1492473600000 } }
  6. Why