Difference between revisions of "Talk:Elasticsearch"

From Freephile Wiki
Jump to navigation Jump to search
(Created page with "There is a lot of info in an ElasticSearch setup... that you can't see with a front-end <source lang="bash"> curl 'localhost:9200/_nodes?pretty' </source> <pre> { "_nodes" :...")
 
(No difference)

Latest revision as of 13:47, 21 August 2018

There is a lot of info in an ElasticSearch setup... that you can't see with a front-end

curl 'localhost:9200/_nodes?pretty'
{
 "_nodes" : {
   "total" : 1,
   "successful" : 1,
   "failed" : 0
 },
 "cluster_name" : "meza_cluster1",
 "nodes" : {
   "vt3gVi_HTdq2OelPe_1X9g" : {
     "name" : "meza_node_1",
     "transport_address" : "127.0.0.1:9300",
     "host" : "127.0.0.1",
     "ip" : "127.0.0.1",
     "version" : "5.6.10",
     "build_hash" : "b727a60",
     "total_indexing_buffer" : 105630924,
     "roles" : [
       "master",
       "data",
       "ingest"
     ],
     "settings" : {
       "pidfile" : "/var/run/elasticsearch/elasticsearch.pid",
       "cluster" : {
         "name" : "meza_cluster1"
       },
       "node" : {
         "name" : "meza_node_1"
       },
       "path" : {
         "conf" : "/etc/elasticsearch",
         "data" : [
           "/opt/data-meza/elasticsearch/data"
         ],
         "scripts" : "/opt/data-meza/elasticsearch/scripts",
         "logs" : "/var/log/elasticsearch",
         "home" : "/usr/share/elasticsearch"
       },
       "default" : {
         "path" : {
           "data" : "/var/lib/elasticsearch",
           "logs" : "/var/log/elasticsearch",
           "conf" : "/etc/elasticsearch"
         }
       },
       "client" : {
         "type" : "node"
       },
       "http" : {
         "type" : {
           "default" : "netty4"
         }
       },
       "transport" : {
         "type" : {
           "default" : "netty4"
         }
       },
       "script" : {
         "inline" : "true",
         "stored" : "true"
       }
     },
     "os" : {
       "refresh_interval_in_millis" : 1000,
       "name" : "Linux",
       "arch" : "amd64",
       "version" : "3.10.0-693.21.1.el7.x86_64",
       "available_processors" : 2,
       "allocated_processors" : 2
     },
     "process" : {
       "refresh_interval_in_millis" : 1000,
       "id" : 376,
       "mlockall" : false
     },
     "jvm" : {
       "pid" : 376,
       "version" : "1.8.0_181",
       "vm_name" : "OpenJDK 64-Bit Server VM",
       "vm_version" : "25.181-b13",
       "vm_vendor" : "Oracle Corporation",
       "start_time_in_millis" : 1534474405617,
       "mem" : {
         "heap_init_in_bytes" : 1073741824,
         "heap_max_in_bytes" : 1056309248,
         "non_heap_init_in_bytes" : 2555904,
         "non_heap_max_in_bytes" : 0,
         "direct_max_in_bytes" : 1056309248
       },
       "gc_collectors" : [
         "ParNew",
         "ConcurrentMarkSweep"
       ],
       "memory_pools" : [
         "Code Cache",
         "Metaspace",
         "Compressed Class Space",
         "Par Eden Space",
         "Par Survivor Space",
         "CMS Old Gen"
       ],
       "using_compressed_ordinary_object_pointers" : "true",
       "input_arguments" : [
         "-Xms1g",
         "-Xmx1g",
         "-XX:+UseConcMarkSweepGC",
         "-XX:CMSInitiatingOccupancyFraction=75",
         "-XX:+UseCMSInitiatingOccupancyOnly",
         "-XX:+AlwaysPreTouch",
         "-Xss1m",
         "-Djava.awt.headless=true",
         "-Dfile.encoding=UTF-8",
         "-Djna.nosys=true",
         "-Djdk.io.permissionsUseCanonicalPath=true",
         "-Dio.netty.noUnsafe=true",
         "-Dio.netty.noKeySetOptimization=true",
         "-Dio.netty.recycler.maxCapacityPerThread=0",
         "-Dlog4j.shutdownHookEnabled=false",
         "-Dlog4j2.disable.jmx=true",
         "-Dlog4j.skipJansi=true",
         "-XX:+HeapDumpOnOutOfMemoryError",
         "-Des.path.home=/usr/share/elasticsearch"
       ]
     },
     "thread_pool" : {
       "force_merge" : {
         "type" : "fixed",
         "min" : 1,
         "max" : 1,
         "queue_size" : -1
       },
       "fetch_shard_started" : {
         "type" : "scaling",
         "min" : 1,
         "max" : 4,
         "keep_alive" : "5m",
         "queue_size" : -1
       },
       "listener" : {
         "type" : "fixed",
         "min" : 1,
         "max" : 1,
         "queue_size" : -1
       },
       "index" : {
         "type" : "fixed",
         "min" : 2,
         "max" : 2,
         "queue_size" : 200
       },
       "refresh" : {
         "type" : "scaling",
         "min" : 1,
         "max" : 1,
         "keep_alive" : "5m",
         "queue_size" : -1
       },
       "generic" : {
         "type" : "scaling",
         "min" : 4,
         "max" : 128,
         "keep_alive" : "30s",
         "queue_size" : -1
       },
       "warmer" : {
         "type" : "scaling",
         "min" : 1,
         "max" : 1,
         "keep_alive" : "5m",
         "queue_size" : -1
       },
       "search" : {
         "type" : "fixed",
         "min" : 4,
         "max" : 4,
         "queue_size" : 1000
       },
       "flush" : {
         "type" : "scaling",
         "min" : 1,
         "max" : 1,
         "keep_alive" : "5m",
         "queue_size" : -1
       },
       "fetch_shard_store" : {
         "type" : "scaling",
         "min" : 1,
         "max" : 4,
         "keep_alive" : "5m",
         "queue_size" : -1
       },
       "management" : {
         "type" : "scaling",
         "min" : 1,
         "max" : 5,
         "keep_alive" : "5m",
         "queue_size" : -1
       },
       "get" : {
         "type" : "fixed",
         "min" : 2,
         "max" : 2,
         "queue_size" : 1000
       },
       "bulk" : {
         "type" : "fixed",
         "min" : 2,
         "max" : 2,
         "queue_size" : 200
       },
       "snapshot" : {
         "type" : "scaling",
         "min" : 1,
         "max" : 1,
         "keep_alive" : "5m",
         "queue_size" : -1
       }
     },
     "transport" : {
       "bound_address" : [
         "[::1]:9300",
         "127.0.0.1:9300"
       ],
       "publish_address" : "127.0.0.1:9300",
       "profiles" : { }
     },
     "http" : {
       "bound_address" : [
         "[::1]:9200",
         "127.0.0.1:9200"
       ],
       "publish_address" : "127.0.0.1:9200",
       "max_content_length_in_bytes" : 104857600
     },
     "plugins" : [ ],
     "modules" : [
       {
         "name" : "aggs-matrix-stats",
         "version" : "5.6.10",
         "description" : "Adds aggregations whose input are a list of numeric fields and output includes a matrix.",
         "classname" : "org.elasticsearch.search.aggregations.matrix.MatrixAggregationPlugin",
         "has_native_controller" : false
       },
       {
         "name" : "ingest-common",
         "version" : "5.6.10",
         "description" : "Module for ingest processors that do not require additional security permissions or have large dependencies and resources",
         "classname" : "org.elasticsearch.ingest.common.IngestCommonPlugin",
         "has_native_controller" : false
       },
       {
         "name" : "lang-expression",
         "version" : "5.6.10",
         "description" : "Lucene expressions integration for Elasticsearch",
         "classname" : "org.elasticsearch.script.expression.ExpressionPlugin",
         "has_native_controller" : false
       },
       {
         "name" : "lang-groovy",
         "version" : "5.6.10",
         "description" : "Groovy scripting integration for Elasticsearch",
         "classname" : "org.elasticsearch.script.groovy.GroovyPlugin",
         "has_native_controller" : false
       },
       {
         "name" : "lang-mustache",
         "version" : "5.6.10",
         "description" : "Mustache scripting integration for Elasticsearch",
         "classname" : "org.elasticsearch.script.mustache.MustachePlugin",
         "has_native_controller" : false
       },
       {
         "name" : "lang-painless",
         "version" : "5.6.10",
         "description" : "An easy, safe and fast scripting language for Elasticsearch",
         "classname" : "org.elasticsearch.painless.PainlessPlugin",
         "has_native_controller" : false
       },
       {
         "name" : "parent-join",
         "version" : "5.6.10",
         "description" : "This module adds the support parent-child queries and aggregations",
         "classname" : "org.elasticsearch.join.ParentJoinPlugin",
         "has_native_controller" : false
       },
       {
         "name" : "percolator",
         "version" : "5.6.10",
         "description" : "Percolator module adds capability to index queries and query these queries by specifying documents",
         "classname" : "org.elasticsearch.percolator.PercolatorPlugin",
         "has_native_controller" : false
       },
       {
         "name" : "reindex",
         "version" : "5.6.10",
         "description" : "The Reindex module adds APIs to reindex from one index to another or update documents in place.",
         "classname" : "org.elasticsearch.index.reindex.ReindexPlugin",
         "has_native_controller" : false
       },
       {
         "name" : "transport-netty3",
         "version" : "5.6.10",
         "description" : "Netty 3 based transport implementation",
         "classname" : "org.elasticsearch.transport.Netty3Plugin",
         "has_native_controller" : false
       },
       {
         "name" : "transport-netty4",
         "version" : "5.6.10",
         "description" : "Netty 4 based transport implementation",
         "classname" : "org.elasticsearch.transport.Netty4Plugin",
         "has_native_controller" : false
       }
     ],
     "ingest" : {
       "processors" : [
         {
           "type" : "append"
         },
         {
           "type" : "convert"
         },
         {
           "type" : "date"
         },
         {
           "type" : "date_index_name"
         },
         {
           "type" : "dot_expander"
         },
         {
           "type" : "fail"
         },
         {
           "type" : "foreach"
         },
         {
           "type" : "grok"
         },
         {
           "type" : "gsub"
         },
         {
           "type" : "join"
         },
         {
           "type" : "json"
         },
         {
           "type" : "kv"
         },
         {
           "type" : "lowercase"
         },
         {
           "type" : "remove"
         },
         {
           "type" : "rename"
         },
         {
           "type" : "script"
         },
         {
           "type" : "set"
         },
         {
           "type" : "sort"
         },
         {
           "type" : "split"
         },
         {
           "type" : "trim"
         },
         {
           "type" : "uppercase"
         }
       ]
     }
   }
 }
}