Giter Site home page Giter Site logo

spring-microservice-filebeat-centralize-logging-via-elk-stack-and-logstash-kibana's Introduction

 ./filebeat setup
 ./filebeat setup -e
 ./filebeat setup enable kibana
 ./filebeat setup enable elasticsearch
module elasticsearch is configured but has no enabled filesets

Screenshot 2023-01-26 at 10 08 48 PM

Screenshot 2023-01-23 at 1 15 34 AM

Screenshot 2023-01-26 at 9 08 32 PM

Screenshot 2023-01-26 at 9 09 02 PM

Screenshot 2023-01-26 at 9 17 48 PM

Screenshot 2023-01-26 at 9 51 34 PM

Screenshot 2023-01-26 at 9 07 29 PM

Screenshot 2023-01-26 at 5 46 22 PM

Screenshot 2023-01-26 at 8 26 04 PM

Screenshot 2023-01-23 at 1 29 20 AM

Screenshot 2023-01-23 at 11 41 43 PM

Screenshot 2023-01-26 at 5 45 49 PM

Screenshot 2023-01-26 at 7 54 03 PM

https://www.elastic.co/downloads/elasticsearch

Screenshot 2023-01-26 at 5 23 39 PM

Screenshot 2023-01-26 at 5 24 52 PM

Screenshot 2023-01-26 at 5 38 43 PM

Screenshot 2023-01-26 at 5 40 05 PM

Screenshot 2023-01-26 at 5 41 10 PM

elastic
ptCdqQ+I7OhIRvNe3t-_
curl --cacert config/certs/http_ca.crt -u elastic https://localhost:9200
Enter host password for user 'elastic':
{
  "name" : "MBP-C02F5ASXMD6M",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "jEmM_gG1Sl2_Z8qpTqmuaw",
  "version" : {
    "number" : "8.6.0",
    "build_flavor" : "default",
    "build_type" : "tar",
    "build_hash" : "f67ef2df40237445caa70e2fef79471cc608d70d",
    "build_date" : "2023-01-04T09:35:21.782467981Z",
    "build_snapshot" : false,
    "lucene_version" : "9.4.2",
    "minimum_wire_compatibility_version" : "7.17.0",
    "minimum_index_compatibility_version" : "7.0.0"
  },
  "tagline" : "You Know, for Search"
}

Screenshot 2023-01-26 at 5 22 48 PM

Screenshot 2023-01-24 at 12 56 27 AM

Screenshot 2023-01-26 at 5 22 27 PM

Screenshot 2023-01-24 at 12 59 34 AM

Screenshot 2023-01-24 at 1 07 29 AM

Screenshot 2023-01-24 at 1 24 23 AM

Screenshot 2023-01-24 at 1 25 42 AM

Screenshot 2023-01-26 at 4 12 43 PM

Screenshot 2023-01-26 at 4 17 56 PM


bin/elasticsearch-create-enrollment-token --scope kibana

eyJ2ZXIiOiI4LjYuMCIsImFkciI6WyIxOTIuMTY4LjI5LjQ2OjkyMDAiXSwiZmdyIjoiOWI0YTBlYzFlNTU1NzVkOWQyYzBhN2ZmMDkxMTJhMjRkMjY1MWIxNWI5M2RjZjhlMjAzOTkyNTFiNGNmMzAyMiIsImtleSI6Inh2TXo0SVVCSnppdTdKdXJSSGsxOmRCMVZXWW9MUUk2NlhHVGZYaFVFOUEifQ==

Screenshot 2023-01-24 at 2 04 44 AM

Screenshot 2023-01-24 at 1 42 44 AM

Screenshot 2023-01-24 at 1 27 05 AM

Screenshot 2023-01-24 at 1 27 45 AM

Screenshot 2023-01-24 at 1 28 22 AM

Screenshot 2023-01-24 at 1 28 47 AM

Screenshot 2023-01-24 at 1 29 20 AM

Screenshot 2023-01-24 at 1 32 15 AM

./elasticsearch-reset-password -u elastic

This tool will reset the password of the [elastic] user to an autogenerated value.
The password will be printed in the console.
Please confirm that you would like to continue [y/N]y


Password for the [elastic] user successfully reset.
New value: tEkqcmVSrkgi*I8ciS6+

Screenshot 2023-01-26 at 4 06 05 PM

✅ Elasticsearch security features have been automatically configured!
✅ Authentication is enabled and cluster connections are encrypted.

ℹ️  Password for the elastic user (reset with `bin/elasticsearch-reset-password -u elastic`):
  ptCdqQ+I7OhIRvNe3t-_

ℹ️  HTTP CA certificate SHA-256 fingerprint:
  7c4b7a190c7e3ccaec121d44058b0b367a7aa99c4a1a6ccd5432436e8beba4e6

ℹ️  Configure Kibana to use this cluster:
• Run Kibana and click the configuration link in the terminal when Kibana starts.
• Copy the following enrollment token and paste it into Kibana in your browser (valid for the next 30 minutes):
  eyJ2ZXIiOiI4LjYuMCIsImFkciI6WyIxOTIuMTY4LjM0LjE5Mjo5MjAwIl0sImZnciI6IjdjNGI3YTE5MGM3ZTNjY2FlYzEyMWQ0NDA1OGIwYjM2N2E3YWE5OWM0YTFhNmNjZDU0MzI0MzZlOGJlYmE0ZTYiLCJrZXkiOiJNZHFsN1lVQllxRkprcDF3c0FZVDpJb2ExV0RKZFNiV0tzdkNLcHd0NGtRIn0=

ℹ️  Configure other nodes to join this cluster:
• On this node:
  ⁃ Create an enrollment token with `bin/elasticsearch-create-enrollment-token -s node`.
  ⁃ Uncomment the transport.host setting at the end of config/elasticsearch.yml.
  ⁃ Restart Elasticsearch.
• On other nodes:
  ⁃ Start Elasticsearch with `bin/elasticsearch --enrollment-token <token>`, using the enrollment token that you generated.

Screenshot 2023-01-26 at 4 17 14 PM

Screenshot 2023-01-26 at 4 18 29 PM

Screenshot 2023-01-26 at 4 19 41 PM

Screenshot 2023-01-26 at 9 52 11 PM

Screenshot 2023-01-26 at 9 51 56 PM

Screenshot 2023-01-26 at 4 19 55 PM

Screenshot 2023-01-26 at 4 20 24 PM

Screenshot 2023-01-26 at 4 23 26 PM

Screenshot 2023-01-26 at 4 26 09 PM

https://www.elastic.co/guide/en/elasticsearch/reference/current/configuring-stack-security.html https://www.elastic.co/downloads/elasticsearch

Screenshot 2023-01-26 at 4 27 55 PM

Screenshot 2023-01-26 at 4 34 06 PM

Screenshot 2023-01-26 at 4 50 42 PM

bin/elasticsearch-create-enrollment-token -s kibana
eyJ2ZXIiOiI4LjYuMCIsImFkciI6WyIxMjcuMC4wLjE6OTIwMCIsIls6OjFdOjkyMDAiXSwiZmdyIjoiN2M0YjdhMTkwYzdlM2NjYWVjMTIxZDQ0MDU4YjBiMzY3YTdhYTk5YzRhMWE2Y2NkNTQzMjQzNmU4YmViYTRlNiIsImtleSI6ImJ1X3I3WVVCYS1mTmU2bGdpVWF3OkhNME9WNDlGUU9hNGlObFB2VDdBemcifQ==

spring-microservice-filebeat-centralize-logging-via-elk-stack-and-logstash-kibana's People

Contributors

saiashish9 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.