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
#add the pipeline | |
PUT _ingest/pipeline/set_incremental | |
{ | |
"processors": [ | |
{ | |
"set": { | |
"field": "incremental_value", | |
"value": 0 | |
} | |
} |
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
#Values like that will not be considered null | |
POST null_values/_doc | |
{ | |
"user": [ | |
"jane", | |
null | |
] | |
} |
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
filebeat.prospectors: | |
- type: log | |
enabled: true | |
paths: | |
- /home/elastic/datasets/java_stack_trace.log | |
fields: |
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
var app = require('express')() | |
app.get('/', function (req, res) { | |
var err = new Error('Error generated') | |
apm.captureError(err) | |
//start to |
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
https://www.elastic.co/guide/en/beats/metricbeat/current/configuration-metricbeat.html | |
https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-system.html | |
https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-installation.html | |
./metricbeat modules enable system | |
https://www.elastic.co/guide/en/beats/metricbeat/current/load-kibana-dashboards.html | |
./metricbeat setup --dashboards |
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
https://nodejs.org/en/download/ | |
npm init | |
npm install express --save | |
node index.js |
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
Links EOE: | |
Interesting blogs to follow: | |
https://alexmarquardt.com/ - Elastic Consulting | |
http://saskia-vola.com/ - More search related (not elastic employee) | |
https://spinscale.de/ - Community Advocate at Elastic | |
I am adding some of my own: | |
Tuning beats: | |
https://www.elastic.co/blog/how-to-tune-elastic-beats-performance-a-practical-example-with-batch-size-worker-count-and-more |
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
#Essentials | |
App Search page on Elastic.co - https://www.elastic.co/app-search | |
App Search documentation - https://www.elastic.co/guide/en/app-search/ | |
Elastic App Search Download Link - https://www.elastic.co/downloads/app-search | |
API Clients - https://www.elastic.co/guide/en/app-search/current/api-clients.html | |
Logstash App Search Output Plugin - https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elastic_app_search.html | |
#Blog Posts | |
What your Elastic App Search analytics are telling you - https://www.elastic.co/blog/what-your-elastic-app-search-analytics-are-telling-you | |
https://www.elastic.co/search?fv-website_area=blog&q=App%20Search&size=20 |
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
[ | |
{ | |
"description": "Covering most of Mount Desert Island and other coastal islands, Acadia features the tallest mountain on the Atlantic coast of the United States, granite peaks, ocean shoreline, woodlands, and lakes. There are freshwater, estuary, forest, and intertidal habitats.", | |
"nps_link": "https://www.nps.gov/acad/index.htm", | |
"states": [ | |
"Maine" | |
], | |
"title": "Acadia", | |
"id": "park_acadia", | |
"visitors": 3303393, |
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
# (Re)create the index | |
DELETE /highlight | |
PUT /highlight | |
{ | |
"settings": { | |
"analysis": { | |
"analyzer": { | |
"standard_ngram": { |