elastic-stack | Elastic Stack Docker & Sample Go App | Continuous Deployment library

 by   rubencougil Go Version: Current License: No License

kandi X-RAY | elastic-stack Summary

kandi X-RAY | elastic-stack Summary

elastic-stack is a Go library typically used in Devops, Continuous Deployment, Docker applications. elastic-stack has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

Elastic Stack which includes Elasticsearch, Kibana, Filebeat and Metricbeat. It comes with a very simple Go application that publishes a tiny HTTP API. Go app connects to a MySQL database. Also there's an HA Proxy that acts as the load balancer of the Go App to allow scale up/down the app containers.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              elastic-stack has a low active ecosystem.
              It has 6 star(s) with 9 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              elastic-stack has no issues reported. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of elastic-stack is current.

            kandi-Quality Quality

              elastic-stack has no bugs reported.

            kandi-Security Security

              elastic-stack has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              elastic-stack does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              elastic-stack releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of elastic-stack
            Get all kandi verified functions for this library.

            elastic-stack Key Features

            No Key Features are available at this moment for elastic-stack.

            elastic-stack Examples and Code Snippets

            No Code Snippets are available at this moment for elastic-stack.

            Community Discussions

            QUESTION

            How to connect 'spring boot application (2.3.4.RELEASE) with elasticsearch 7.9.2' using HTTPS
            Asked 2021-May-24 at 08:30

            I'm new to spring-boot & Elasticsearch technology stack and I want to establish secure HTTPS connection between my spring-boot app & elastic search server which runs locally. These are the configurations that I have done in elasticsearch.yml

            Giving credintials for elasticsearch server

            xpack.security.enabled: true

            xpack.security.transport.ssl.enabled: true

            For secure inter nodes connection inside elasticsearch cluster

            xpack.security.transport.ssl.verification_mode: certificate

            xpack.security.transport.ssl.keystore.path: elastic-certificates.p12

            xpack.security.transport.ssl.truststore.path: elastic-certificates.p12

            For secure Https connection with clients and elasticsearch clustrer

            xpack.security.http.ssl.enabled: true

            xpack.security.http.ssl.keystore.path: elastic-certificates.p12

            xpack.security.http.ssl.truststore.path: elastic-certificates.p12

            xpack.security.http.ssl.client_authentication: optional

            Enabling PKI authentication

            xpack.security.authc.realms.pki.pki1.order: 1

            I have generated CA and client certificate which signed by generated CA according to this link

            https://www.elastic.co/blog/elasticsearch-security-configure-tls-ssl-pki-authentication

            And I have added CA to my java keystore.

            This is the java code i'm using to establish connectivity with elasticsearch server.

            @Configuration public class RestClientConfig extends AbstractElasticsearchConfiguration {

            ...

            ANSWER

            Answered 2021-May-24 at 08:30

            Your issue looks similar to another issue, see here: Certificate for doesn't match any of the subject alternative names

            So I would assume that if you add the SAN extension localhost as DNS and the ip address of localhost to the elasticsearch certificate it should work. So adding the following additional parameters: --dns localhost --ip 127.0. 0.1. Can you give the command below a try and share your results here?

            Source https://stackoverflow.com/questions/67657426

            QUESTION

            ConnectionError while creating track in Rally with docker image
            Asked 2021-May-11 at 13:56

            I am trying to create a custom track from an existing Elasticsearch cluster using the instructions in the Rally documentation page.

            I am running Rally as a Docker Image. I am running elasticsearch:7.12.0 as well as a docker image in the same host. The docker container is running and host can be accessed by using basic auth.

            ...

            ANSWER

            Answered 2021-May-11 at 13:56

            Thanks to Elastic Team for answering this question on their official discuss channel:

            The setup required a docker network to be configured and shared between the Elasticsearch and Rally containers in order for them to communicate.

            We don't state here how your Elasticsearch container is run, but once we have it executing with a network we can run rally with the following (provided you replace the network and container name placeholders):

            Source https://stackoverflow.com/questions/67451235

            QUESTION

            Received plaintext http traffic on an https channel, closing connection
            Asked 2021-Apr-27 at 16:22

            I have deployed ECK (using helm) on my k8s cluster and i am attempting to install elasticsearch following the docs. https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-deploy-elasticsearch.html

            I have externally exposed service/elasticsearch-prod-es-http so that i can connect to it from outside of my k8s cluster. However as you can see when i try to connect to it either from curl or the browser i receive an error "502 Bad Gateway" error.

            ...

            ANSWER

            Answered 2021-Apr-27 at 16:22

            If anyone comes across this problem in the future, make sure your ingress is properly configured. The error message suggests that its a misconfiguration with the ingress.

            Source https://stackoverflow.com/questions/67284121

            QUESTION

            Healthcheck shell script: $$? vs $? in elasticsearch docker-compose.yml
            Asked 2021-Mar-29 at 07:39

            I was reading the elasticsearch documentation on Elastic Stack on Docker with TLS.

            I came across this line in the healthcheck block:

            ...

            ANSWER

            Answered 2021-Mar-29 at 07:20

            I am no expert in docker nor elasticsearch. Perhaps this has less to do with bash than with make.

            To get a $ in a makefile it must be escaped with an additional $. So to get $? in a makefile you need $$?.

            On the other hand in bash $$ gets you the pid of the current process, so of the bash.

            Source https://stackoverflow.com/questions/66849830

            QUESTION

            Lost log messages when using append instead of appendRaw of LogstashMarker
            Asked 2021-Mar-03 at 08:32

            I stumbled across lost log messages in our environment.

            We use an ELK Stack and logback with logstash-logback-encoder in our Java applications. To do structured queries we use LogstashMarkers to append structured arguments to the logs. In the case of the lost log messages it is a string, which contains a JSON.

            Some of the log messages are lost completly. Not only the markers were not saved but the complete log message. They are not visible in Kibana. There are no errors in the logs of our application or the logstash server.

            I could create an example repository with minimal code and published it at GitHub: https://github.com/seism0saurus/logging-issue

            To run it, you need a logstash server and netcat. The logger in that project is configured to use a console appender, so we have a reference, what messages where really logged. Additionally there is one appender for a netcat server on localhost:8081 and one appender for the logstash server. Both have the same config. Only the address is different. So I'm quite sure that the message is send to the logstash server, if it is send to netcat.

            Here is the code of the main class:

            ...

            ANSWER

            Answered 2021-Mar-03 at 08:32

            We found the problem. To help others, who come across this question, I will explain the problem and the solution here.

            The log messages were successfully transmitted to logstash and elasticsearch. So there were no errors in those logs. The reason, that we could not find the log entries was the field for the "payload". We have multiple services and one of them was sending an object instead of a string. That lead to a mapping conflict and the log messages could not be accessed.

            The solution for us was to define an explicit mapping and to introduce a naming convention. Now we have a text field payload and an object field payloadAsObject. This convention is used in all of our services.

            The problematic log entries were far enough in the past, so we could delete the old index and solve the conflict. But there are possibilities to reindex the data without downtime. For example this one: https://medium.com/craftsmenltd/rebuild-elasticsearch-index-without-downtime-168363829ea4

            Source https://stackoverflow.com/questions/66369390

            QUESTION

            How to connect Winlogbeat to Elasticsearch dockrized Cluster using SSL?
            Asked 2021-Feb-27 at 12:14

            For the past week I am trying to connect a Winlogbeat(Which is on my host machine) To an elasticsearch Cluster that I set up on an Ubuntu VM using dockers.

            Following this tutorial. (In the tutorial they don't explain how to connect a Beat)

            My problem is with the SSL configuration (Of the Winlogbeat) I just can't get it right for some reason.

            This is the error I get on the windows machine after running the setup command (.\winlogbeat.exe setup -e) -

            ...

            ANSWER

            Answered 2021-Feb-27 at 12:14

            So it took me some time, but I've figured out what was the problem with my certificate. I didn't add it to the trusted root store on my windows machine.

            In the end I've created a Winlogbeat crt and key using the elasticsearch-certutil tool by adding a Winlogbeat instance to the instances.yml file and copied the winlogbeat.crt, winlogbeat.key and ca.crt to my windows machine.

            Note - You can find all of them under /var/lib/docker/volumes/es_certs/_data/

            On the windows machine I configured the Winlogbeat the normal way and in the end I've added the ca.crt to the trusted root store using this tutorial.

            Source https://stackoverflow.com/questions/66308591

            QUESTION

            elasticsearch on docker - snapshot and restore - access_denied_exception
            Asked 2020-Oct-26 at 15:17

            I created elasticsearch cluster flowing by the article: Running the Elastic Stack on Docker

            After the elasticsearch runs, I need to create snapshot and restore to backup my data. I modified my elastic-docker-tls.yml file:

            ...

            ANSWER

            Answered 2020-Jun-03 at 00:56

            You can set chown for elasticsearch user in docker volume.

            1. Run ls -l show all mod of directory in elasticsearch

            2. Run chown elasticsearch /backup

            Source https://stackoverflow.com/questions/62144796

            QUESTION

            kibana&elasticsearch not connect under docker in same container
            Asked 2020-Sep-25 at 09:33

            Using the docker-compose.yml file by here (online changed version 7.9.1. to 7.9.2)

            as seen below full content of docker-compose.yml;

            ...

            ANSWER

            Answered 2020-Sep-25 at 09:33

            It seems that both containers are started at same time so kibana is unable to identify elasticsearch container.

            in Kibana service: Add below parameters in docker-compose.yml file

            depends_on:

            • es01 environment:
            • 'ELASTICSEARCH_HOSTS=http://es01:9200'
            • 'XPACK_MONITORING_UI_CONTAINER_ELASTICSEARCH.ENABLED=false'

            Instead of dict. try to use lists in env. variable

            Source https://stackoverflow.com/questions/64055011

            QUESTION

            deploy elk stack in kubernetes with helm VolumeBinding error
            Asked 2020-Aug-24 at 16:55

            I'm trying to deploy elk stack in kubernetes cluster with helm, using this chart. When I launch

            helm install elk-stack stable/elastic-stack

            I receive the following message:

            ...

            ANSWER

            Answered 2020-Aug-24 at 16:55

            The reason why pod is pending is below PVCs are pending because corresponding PVs are not created.

            Source https://stackoverflow.com/questions/63556649

            QUESTION

            Error: found in Chart.yaml, but missing in charts/ directory: elasticsearch, kibana, filebeat, logstash
            Asked 2020-Aug-15 at 11:34

            I would like to deploy elastic-stack into Kubernetes cluster. I git clone the chart, use default settings. But, I got errors.

            1. git clone https://github.com/helm/charts

            2. Create namespace

              kubectl create namespace elastic-stack

            3. At $HOME/charts

            $ helm install elastic-stack stable/elastic-stack --namespace=elastic-stack

            Error: found in Chart.yaml, but missing in charts/ directory: elasticsearch, kibana, filebeat, logstash, fluentd, fluent-bit, fluentd-elasticsearch, nginx-ldapauth-proxy, elasticsearch-curator, elasticsearch-exporter

            helm version version.BuildInfo{Version:"v3.3.0-rc.1"

            ...

            ANSWER

            Answered 2020-Aug-15 at 11:34

            Have you enabled the stable repo for helm ? you can check this by running helm repo list

            If not, please add using helm repo add stable https://kubernetes-charts.storage.googleapis.com

            Source https://stackoverflow.com/questions/63386665

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install elastic-stack

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/rubencougil/elastic-stack.git

          • CLI

            gh repo clone rubencougil/elastic-stack

          • sshUrl

            git@github.com:rubencougil/elastic-stack.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link