Test Server
curl http://localhost:9200 -u elastic:changeme
curl http://45.32.84.33:9200 -u elastic:changeme
curl -XPOST "https://45.32.84.33:9200/_search" -d'
{
"query": {
"match_all": {}
}
}'
Important Links
- You can use apps/ELK DentropyCloud-traefik to set up your own instance
TODO
- Elasticsearch from the command line with curl and jq
- jq
- Full Unique Values in Aggregation
- Significant terms aggregation | Elasticsearch Guide [7.15] | Elastic
- Aggregations | Elasticsearch Guide [7.15] | Elastic
- Elasticsearch - return aggregation to match a specific value? - Stack Overflow
- Why is SQL join needed? - Quora
- elasticsearch - Aggregation returns terms in key , but not the complete field, how can I get full field returned? - Stack Overflow
- elasticsearch - No handler for type [string] declared on field [name] - Stack Overflow
- ruby - ElasticSearch terms aggregation by entire field - Stack Overflow
- token - How to not-analyze in ElasticSearch? - Stack Overflow
- Case insensitive exact matches in Elasticsearch | Codementor
- ElasticSearch - Return Unique Values - Stack Overflow
- Elasticsearch find unique items in list field - Stack Overflow
- Terms aggregation | Elasticsearch Guide [7.15] | Elastic
- https://logz.io/blog/elasticsearch-aggregations/
- Elasticsearch Mapping: Basics, Updates, and a Few Examples
- Term query | Elasticsearch Guide [7.15] | Elastic
- Terms query | Elasticsearch Guide [7.15] | Elastic
- Case insensitive exact match search in Elasticsearch · Pranav Prakash
- Total_fields.limit
- Increase total fields limit via creation of index in logstash - Elastic Stack / Logstash - Discuss the Elastic Stack
- https://subscription.packtpub.com/book/big_data_and_business_intelligence/9781789954395/2/ch02lvl1sec19/rest-api-overview
- Install
- [GitHub - deviantony/docker-elk: The Elastic stack (ELK|[ELK|[ELK|[ELK|[ELK|ELK|ELK|[ELK|[ELK|ELK) powered by Docker and Compose. powered by Docker and Compose.]] powered by Docker and Compose. powered by Docker and Compose. powered by Docker and Compose.]]%20powered%20by%20Docker%20and%20Compose.)
- Works currently using
- Running the Elastic Stack on Docker | Getting Started [7.12] | Elastic
- Offical
- https://www.elastic.co/guide/en/elasticsearch/reference/7.12/deb.html
- https://www.elastic.co/guide/en/kibana/7.12/deb.html
- [GitHub - deviantony/docker-elk: The Elastic stack (ELK|[ELK|[ELK|[ELK|[ELK|ELK|ELK|[ELK|[ELK|ELK) powered by Docker and Compose. powered by Docker and Compose.]] powered by Docker and Compose. powered by Docker and Compose. powered by Docker and Compose.]]%20powered%20by%20Docker%20and%20Compose.)
- Tutorials
- Books
- What is Elastic Search
- Document Database
- What can Elastic Search Be used for?
- Notes
- Percussion vs Recall
- Ranking via Scoring Algorithm
- Inverse Document Frequency
- Resources
- Other Stuff
- TODO
Example curl skipping HTTPS
curl -XPUT -u elastic:PASSWORD -k -L http://elasticsearch.dentropy.local/test-index
Skip Verify HTTPS
- ssl verification fails despite verify_certs=false · Issue #712 · elastic/elasticsearch-py
- python - Suppress InsecureRequestWarning: Unverified HTTPS request is being made in Python2.6 - Stack Overflow
import urllib3
from elasticsearch import Elasticsearch
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
es = Elasticsearch(
['https://elastic:PASSWORD@elasticsearch.dentropy.local:443'],
verify_certs=False)
TODO
- What does "Limit of total fields [1000] in index [] has been exceeded" means in Elasticsearch - Stack Overflow
- How to increase ElasticSearch total field limit using Python API – TechOverflow
- How to Create and Delete Elasticsearch Indexes Using the Python Client Library | ObjectRocket
Aggregations
- ElasticSearch Aggregations Explained – BMC Software | Blogs
- Composite aggregation | Elasticsearch Guide [7.15] | Elastic
- aggregation query and return all fields in elasticsearch - Stack Overflow
- ElasticSearch - How to display an additional field name in aggregation query - Stack Overflow
- faceted search - elasticsearch - additional field in aggregation results - Stack Overflow
id: SFmWuMG31R0vtgOxDVzQo title: reminders desc: '' updated: 1634842741012 created: 1628444413888
Elastic Search Reminders
- Count API exists and can be built into the query
- Count API | Elasticsearch Guide [7.15] | Elastic
- Elasticsearch, get average document length - Stack Overflow
- sorting - Sort based on length of an array in elasticsearch - Stack Overflow
- lucene - ElasticSearch:filtering documents based on field length? - Stack Overflow
- [search - Elasticsearch: How to get the length of a string field(before analysis|[before analysis|[before analysis|[before analysis|[before analysis|before analysis|[before analysis|[before analysis|[before analysis|[before analysis)? - Stack Overflow](../before analysis)? - Stack Overflow]]? - Stack Overflow](before%20analysis)? - Stack Overflow? - Stack Overflow]]?%20-%20Stack%20Overflow)
- [search - Elasticsearch: How to get the length of a string field(before analysis|[before analysis|[before analysis|[before analysis|[before analysis|before analysis|[before analysis|[before analysis|[before analysis|[before analysis)? - Stack Overflow](../before analysis)? - Stack Overflow]]? - Stack Overflow](before%20analysis)? - Stack Overflow? - Stack Overflow]]?%20-%20Stack%20Overflow)
- Elasticsearch multi term filter - Stack Overflow
- How to sort items by array size in ElasticSearch? - Stack Overflow
- mongodb - Elasticsearch filtering by array field size - Stack Overflow