Editing Elasticsearch

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
[[wikipedia:Elasticsearch]] is a web based [[search engine]] written in [[Java]] and released in [[2010]] that provides a distributed, multitenant-capable full-text search engine and schema-free [[JSON]] documents based on the [[Lucene]] library.  
+
[[wikipedia:Elasticsearch]] is a web based search engine written in [[Java]] and released in [[2010]] that provides a distributed, multitenant-capable full-text search engine and schema-free [[JSON]] documents based on the [[Lucene]] library.  
 
You can use many differents tools to send logs to Elasticsearch, including [[Filebeat]] product from ElasticSearch developers.
 
You can use many differents tools to send logs to Elasticsearch, including [[Filebeat]] product from ElasticSearch developers.
 
Elastisearch offer different software for sending data such as: Filebeat, [[Metricbeat]]<ref>https://www.elastic.co/products/beats/metricbeat</ref>, Packetbeat, Winlogbeat, Auditbeat, Heartbeat and
 
Elastisearch offer different software for sending data such as: Filebeat, [[Metricbeat]]<ref>https://www.elastic.co/products/beats/metricbeat</ref>, Packetbeat, Winlogbeat, Auditbeat, Heartbeat and
Line 7: Line 7:
 
</ref>
 
</ref>
  
* [https://trends.google.com/trends/explore?date=all&q=Elasticsearch Google Trends], [https://trends.google.com/trends/explore?date=all&q=Elasticsearch,OpenSearch OpenSearch]
+
== Installation ==
 
+
* [[Install ElasticSearch on Debian/Ubuntu]]
* [[Elasticsearch installation]]
+
* ElasticSearch Docker installation: https://www.docker.elastic.co/: [[Install ElasticSearch using Docker]] or [[Install ElasticSearch and Kibana using Docker]]
* [[Elasticsearch command line tools|Command line tools]]
+
* Configuration file:
* [[Elastic Licensing]]<ref>https://www.elastic.co/pricing/</ref>: [[Elastic Licensing|Gold]], Platinium, Enterprise
+
:: <code>/usr/share/elasticsearch/config/[[elasticsearch.yml]]</code> <ref>https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html</ref>
  
 
== Activities ==
 
== Activities ==
 
* Read [[ElasticSearch release notes]]/versions: https://github.com/elastic/elasticsearch/releases
 
* Read [[ElasticSearch release notes]]/versions: https://github.com/elastic/elasticsearch/releases
* [[Elasticsearch curl URLs]]: <code>[[/_cat/]], [[/_cluster/]], [[/_xpack/]]</code>
 
* [[ELK backup and restore]]
 
  
* Review [[Elasticsearch logs]]
+
* Status:
 +
::<code>[[curl https://localhost:9200/_nodes/status]]</code>
 +
::<code>[[curl https://localhost:9200/_cat/health]]</code>
 +
* [[Indexes]]/Nodes/Aliases/Plugins:
 +
::<code>curl http://localhost:9200/_aliases</code>
 +
::<code>[[curl https://localhost:9200/_aliases]]</code>
 +
::<code>[[curl]] http://localhost:9200/_cat/indices?v</code>
 +
::<code>[[curl https://localhost:9200/_cat/indices?v]]</code>
 +
 
 +
curl -XGET https://localhost:9200/_cat/nodes?v -u 'admin:admin' --insecure
 +
curl -XGET https://localhost:9200/_cat/plugins?v -u 'admin:admin' --insecure
 +
 
  
* Read most voted Elasticsearch queries in [[Stackoverflow]] https://stackoverflow.com/questions/tagged/elasticsearch?tab=Votes
+
* Delete ALL index:
 +
::<code>[[curl -X]] DELETE 'http://localhost:9200/_all'</code>
  
 
* [[Install ElasticSearch using Docker]] and [[Kibana]]: https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html
 
* [[Install ElasticSearch using Docker]] and [[Kibana]]: https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html
Line 27: Line 37:
 
:::  <code>http://localhost:9200/</code>
 
:::  <code>http://localhost:9200/</code>
 
:::  <code>https://localhost:9200/</code>
 
:::  <code>https://localhost:9200/</code>
 
+
* [[Install Elasticsearch-hq management GUIs for Elasticsearch]]
* Read Elasticsearch data migration: https://engineering.empathy.co/elasticsearch-data-migration-within-k8s/
+
* Review [[Elasticsearch logs]]
 +
* Read most voted Elasticsearch queries in Stackoverflow https://stackoverflow.com/questions/tagged/elasticsearch?tab=Votes
  
 
== Managed services ==
 
== Managed services ==
Several organizations offer Elasticsearch as a managed service, including [[Amazon Web Services]] Elasticsearch Service (since October 2015<ref>{{cite web|url=https://aws.amazon.com/blogs/aws/new-amazon-elasticsearch-service/|title=New – Amazon Elasticsearch Service - Amazon Web Services|date=1 October 2015|website=amazon.com}}</ref>),<ref>{{Cite web|url=https://aws.amazon.com/elasticsearch-service/|title=Amazon Elasticsearch Service|website=Amazon.com|access-date=2016-10-16}}</ref> Bonsai,<ref>{{Cite web|url=https://bonsai.io/|title=Elasticsearch on AWS|website=bonsai.io|access-date=2016-10-16}}</ref> Scalefastr,<ref>{{Cite web|url=https://www.scalefastr.io/|title=Managed Elasticsearch on Bare Metal|website=scalefastr.io|access-date=2017-11-30}}</ref> [[Elastic Cloud]],<ref>{{Cite web|url=https://www.elastic.co/cloud|title=Hosted Elasticsearch & Kibana on AWS|last=|first=|date=|website=elastic.co|publisher=|access-date=2016-10-16}}</ref> Qbox,<ref>{{Cite web|url=https://qbox.io/hosted-elasticsearch|title=Hosted Elasticsearch|website=qbox.io|access-date=2016-10-16}}</ref> Searchly,<ref>{{Cite web|url=http://www.searchly.com/|title=Simple Elasticsearch Hosting|website=searchly.com|access-date=2016-10-16}}</ref> IBM,<ref>{{Cite web|url=https://console.ng.bluemix.net/catalog/services/compose-for-elasticsearch/|title=Elasticsearch on IBM Cloud|website=www.bluemix.net|access-date=2017-01-25}}</ref> Measured Search,<ref>{{Cite web|url=https://www.measuredsearch.com/cloud-search-service/elasticsearch/|title=Hosted Elasticsearch Service AWS Microsoft Azure Google Cloud {{!}} Measured Search|website=www.measuredsearch.com|language=en|access-date=2017-05-26}}</ref> [[Logz.io]],<ref>{{Cite web|url=https://logz.io|title=ELK as a Service and AI-powered Log Analytics|website=logz.io|access-date=2017-09-04}}</ref> [[IBM Bluemix]] Elasticsearch Service,<ref>{{Cite web|url=https://console.bluemix.net/catalog/services/compose-for-elasticsearch/|title=Compose for Elasticsearch - IBM Bluemix|website=console.bluemix.net|access-date=2017-09-14}}</ref> and [https://www.objectrocket.com/elasticsearch/ Object Rocket].<ref>{{Cite web|url=https://www.objectrocket.com/elasticsearch/|title=Hosted Elasticsearch with Kibana {{!}} ObjectRocket|website=ObjectRocket|access-date=2017-12-29}}</ref> Such managed services provide hosting, deployment, backup and other support as a package, reducing the skills and time needed to implement and operate Elasticsearch.<ref>{{Cite web|url=https://ctovision.com/aws-elasticsearch-setup/|title=Elasticsearch Setup|website=ctovision.com|access-date=2016-10-16}}</ref> Most managed services also include support for [[Kibana]].
+
Several organizations offer Elasticsearch as a managed service, including [[Amazon Web Services]] Elasticsearch Service (since October 2015<ref>{{cite web|url=https://aws.amazon.com/blogs/aws/new-amazon-elasticsearch-service/|title=New – Amazon Elasticsearch Service - Amazon Web Services|date=1 October 2015|website=amazon.com}}</ref>),<ref>{{Cite web|url=https://aws.amazon.com/elasticsearch-service/|title=Amazon Elasticsearch Service|website=Amazon.com|access-date=2016-10-16}}</ref> Bonsai,<ref>{{Cite web|url=https://bonsai.io/|title=Elasticsearch on AWS|website=bonsai.io|access-date=2016-10-16}}</ref> Scalefastr,<ref>{{Cite web|url=https://www.scalefastr.io/|title=Managed Elasticsearch on Bare Metal|website=scalefastr.io|access-date=2017-11-30}}</ref> Elastic Cloud,<ref>{{Cite web|url=https://www.elastic.co/cloud|title=Hosted Elasticsearch & Kibana on AWS|last=|first=|date=|website=elastic.co|publisher=|access-date=2016-10-16}}</ref> Qbox,<ref>{{Cite web|url=https://qbox.io/hosted-elasticsearch|title=Hosted Elasticsearch|website=qbox.io|access-date=2016-10-16}}</ref> Searchly,<ref>{{Cite web|url=http://www.searchly.com/|title=Simple Elasticsearch Hosting|website=searchly.com|access-date=2016-10-16}}</ref> IBM,<ref>{{Cite web|url=https://console.ng.bluemix.net/catalog/services/compose-for-elasticsearch/|title=Elasticsearch on IBM Cloud|website=www.bluemix.net|access-date=2017-01-25}}</ref> Measured Search,<ref>{{Cite web|url=https://www.measuredsearch.com/cloud-search-service/elasticsearch/|title=Hosted Elasticsearch Service AWS Microsoft Azure Google Cloud {{!}} Measured Search|website=www.measuredsearch.com|language=en|access-date=2017-05-26}}</ref> [[Logz.io]],<ref>{{Cite web|url=https://logz.io|title=ELK as a Service and AI-powered Log Analytics|website=logz.io|access-date=2017-09-04}}</ref> [[IBM Bluemix]] Elasticsearch Service,<ref>{{Cite web|url=https://console.bluemix.net/catalog/services/compose-for-elasticsearch/|title=Compose for Elasticsearch - IBM Bluemix|website=console.bluemix.net|access-date=2017-09-14}}</ref> and [https://www.objectrocket.com/elasticsearch/ Object Rocket].<ref>{{Cite web|url=https://www.objectrocket.com/elasticsearch/|title=Hosted Elasticsearch with Kibana {{!}} ObjectRocket|website=ObjectRocket|access-date=2017-12-29}}</ref> Such managed services provide hosting, deployment, backup and other support as a package, reducing the skills and time needed to implement and operate Elasticsearch.<ref>{{Cite web|url=https://ctovision.com/aws-elasticsearch-setup/|title=Elasticsearch Setup|website=ctovision.com|access-date=2016-10-16}}</ref> Most managed services also include support for [[Kibana]].
  
== Errors ==
 
* <code>[[Java.io.IOException: failed to obtain in-memory shard lock]]</code>
 
  
 
== Related terms ==
 
== Related terms ==
* [[Elastic Cloud on Kubernetes (ECK)]]
+
* [[Prometheus]]
* <code>[[jvm.options]]</code>
 
* [[Kibana]]: http://localhost:5601/
 
 
* [[LogDNA]]
 
* [[LogDNA]]
* [[JVM arguments]]
 
 
* [[ElasticSearch users]]
 
* [[ElasticSearch users]]
* [[ElasticSearch alerts]]
 
* [[OpenSearch]]
 
* [[Elastisearch REST APIs]]
 
* [[Elastic SIEM]]
 
* [[Index]], [[Snapshot]]
 
* <code>[[Empty client certificate chain]]</code>
 
* [[Elasticsearch python client]]
 
* <code>[[elasticsearch.helpers.errors.BulkIndexError]]</code>
 
* [[Log explorers]]: [[GCP log explorer]]
 
* [[Amazon CloudWatch Logs Insights]]
 
  
 
== See also ==
 
== See also ==
* {{elasticsearchcmd}}
+
* [[Cerebro]], [[Newman]]/[[Postman]] or [[Elasticsearch-hq]] management GUIs for Elasticsearch
* {{ES URLs}}
 
 
* {{elasticsearch}}
 
* {{elasticsearch}}
 
* {{ELK}}
 
* {{ELK}}
 
+
* {{logs}}
  
 
{{CC license}}
 
{{CC license}}

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: