Skip to content

TheAutomaTom/Lab.Serilog-Kibana8

Repository files navigation

Serilog-Kibana8.Lab

Version: 2404121

Author:

Environment setup

Observing the ELK stack operate

  • Passwords are set in .\Docker-ELK.Fork.Wrapper\.env (default: elastic/changeme)

  • Kibana

    • Verify connectivity
      • Go to http://localhost:5601/app/home/
      • Click the hamburger button in the top left, then select Management/ Stack Management
      • Select Index Management
      • Observe your created logging index with configured primary shards and replicas
      • Note the sane of your index for the next step.
    • Configure Logging Stream
      • Click the button in the top left, then select Analytics/ Discover
      • On the second-from-top toolbar, under the button, click V carrot to open the dropdown.
      • Select `Create data view``
        • Set Name as appropriate
        • Set Index pattern to $"{name-of-your-index-before-date}-*" (* is a wildcard*) - Example: elk8-lab-api-*
        • Select Save Data View
    • For an example of searching for a specific error
      • In Swagger, execute ElasticsearchClient8/IntentionallyThrow?someParameter=666
      • In Kibana, search for IntentionallyThrow
      • Observe the results!

Technical References

About

Demo running Elastic Search and Kibana on Docker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published