Questions tagged [elastic-stack]

Elastic Stack combines the Elasticsearch, Logstash, Kibana, and the Beats Framework to provide real-time insights of any type of structured or unstructured data.

Elastic Stack combines the , , , and the Beats Framework to provide real-time insights of any type of structured or unstructured data.

In 2015, Elastic introduced the Beats framework (,,) into their stack and decided to rename the ELK Stack to the Elastic Stack

3683 questions
5
votes
6 answers

How to gather logs to Elasticsearch

I have logs of web apps in different servers (many machines). How can I gather these logs in a system where I have Elastic search and Kibana installed. When I searched I only found tutorials that show setup where logs, logstash, beats, elasticsearch…
Tek Nath Acharya
  • 1,676
  • 2
  • 20
  • 35
5
votes
0 answers

incompatibility between APM node.js agent 3.0.0 and APM server 7.4.0

I'm having problem with compatibility of APM server and APM agent (Elastic Stack). "elastic-apm-node": "^3.0.0" Configuration: var apm = require('elastic-apm-node').start({ serviceName: "******-dev", captureBody: 'all', stackTraceLimit: 10, …
5
votes
1 answer

Return only match fields instead of returning the whole document

Return only matched source instead of returning the whole document of elastic search that contain that text Suppose I have a data in this format, POST /bookdb_index/book/_bulk { "index": { "_id": 1 }} { "title": "Elasticsearch: The Definitive…
5
votes
1 answer

Elasticsearch Data Insertion with Python

I'm brand new to using the Elastic Stack so excuse my lack of knowledge on the subject. I'm running the Elastic Stack on a Windows 10, corporate work computer. I have Git Bash installed for a bash cli, and I can successfully launch the entire…
danielschnoll
  • 3,045
  • 5
  • 23
  • 34
5
votes
1 answer

Dashboard Only Mode in Kibana 7.0.1

I am very new to ELK stack, and just exploring kibana, already created Dashboards and now when i share that Dashboard to others it shows all other tabs too in kibana instead it should be display only Dashboard. how do i set such things in kibana? I…
Juned Ansari
  • 5,035
  • 7
  • 56
  • 89
5
votes
2 answers

Disabling subcharts in custom helm chart

I've created a custom helm chart with elastic-stack as a subchart with following configurations. # requirements.yaml dependencies: - name: elastic-stack version: 1.5.0 repository: '@stable' # values.yaml elastic-stack: kibana: # at…
cebor
  • 6,546
  • 4
  • 24
  • 31
5
votes
2 answers

Running Logstash on multiple nodes with JDBC input plugin

I have a basic HA setup for Logstash - two identical nodes in two separate AWS availability zones. Each node runs a pipeline that extracts a dataset from DB cluster and then outputs it downstream it to ELasticSearch cluster for indexing. This works…
demisx
  • 7,217
  • 4
  • 45
  • 43
5
votes
2 answers

How can I reduce RAM usage of Logstash?

I am looking for an answer for my Logstash RAM problem because it is nearly 100%. I made a lot of searches for it but they didn't work out for me. Below code is my logstash.conf file. I think it needs small touches. Logstash.conf: input { file { …
Penguen
  • 16,836
  • 42
  • 130
  • 205
5
votes
2 answers

Why does Elastic Cloud provides a specialized port (9243) instead of only using the default one (443)?

I've just set up an Elastic Cloud deployment and was wondering why my endpoint has a specific port (9243) while the default HTTPS one, 443, also works? Will this behaviour change in the future? Will one of the ports be phased out? Which one…
Titulum
  • 9,928
  • 11
  • 41
  • 79
5
votes
1 answer

How to get logs and it's data having word "error" in then and how to configure logstashPipeLine.conf file for the same?

Currently I am working on an application where I need to create documents from particular data from a file at specific location. I have set up logstash pipeline configuration. Here is what it looks like currently: input{ file{ path =>…
Deva
  • 1,039
  • 1
  • 14
  • 40
5
votes
1 answer

ElasticSearch JavaAPI (SearchScroll)- search_context_missing_exception","reason":"No search context found for id

Am fetching more than 100k documents from one index using searchScroll and adding one more field in all 100K documents. Then again am inserting those documents into another new index. Am using SearchScroll api also am setting the size…
Karthikeyan
  • 1,927
  • 6
  • 44
  • 109
5
votes
1 answer

ElasticSearch Java RestClient - listener timeout after waiting f or [30000] ms

Am querying elasticsearch index documents which is having more than 100K documents via java code. Am using RestClient for that. While am trying to fetching documents am getting Exception in thread "main" java.io.IOException: listener timeout after…
Karthikeyan
  • 1,927
  • 6
  • 44
  • 109
5
votes
0 answers

method admin() is undefined for the type RestHighLevelClient

I'm using Ingest Attachment Processor Plugin on elasticsearch. I need to set attachment optionswith Java API. How can I do that? I am creating index and setting pipeline like below: RestHighLevelClient restHighLevelClient = null; File file = new…
Karthikeyan
  • 211
  • 1
  • 4
  • 15
5
votes
2 answers

Elasticsearch match multiple fields with AND operator not working

Am trying to fetch documents from elasticsearch with multiple fields using AND operator for the below query am expecting the following results AB-7000-8002-W But am getting this error message Unrecognized token 'get': was expecting ('true', 'false'…
Karthikeyan
  • 1,927
  • 6
  • 44
  • 109
5
votes
0 answers

Painless scripting Elastic Search : variable is not defined error when trying to access values from doc

I am trying to learn painless scripting in Elastic Search by following the official documentation. ( https://www.elastic.co/guide/en/elasticsearch/painless/6.0/painless-examples.html ) A sample of the document I am working with : { "uid" :…