Skip to content

Vulthil/Logprocessor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logprocessor

How to run - Docker

  • To run the Logprocessor and/or the case study, you will need to first install Docker https://docker.com

  • Clone the repo

    git clone https://github.com/Vulthil/Logprocessor.git
    
  • Make a copy of .env.example (in repo root) and rename it to .env

  • Put in the values for the environment variables.

    • The defaults are fine unless you have a running, conflicting Docker configuration.
    • The PGAdmin Docker container will be usable if you have supply values for email and password in the .env file, but it is not required for the Logprocessor to run

You can now either

  • Run the logprocessor with just its UI (If you will be producing logs yourself):
    ./RunLogprocessor

Or

  • Run the logprocessor with case study ('Microservices' & Fluentd):
    ./RunAll

If you do not wish to use Docker, or want to debug the Logprocessor, you can also run ti locally.

How to run - Locally

To run the Logprocessor locally, you must execute the Logprocessor .csproj by doing a dotnet run command in the Logprocessor project folder to run the logprocessor server, as well as dotnet run in the UI.Server folder to host the UI. For the logprocessor to work locally, you will also need to change the "ConnectionStrings:Default" connection string in appsettings.json to point to a Postgres database that can be used. The application will apply migrations to the database on startup by itself.

Likewise the Logprocessor can be developed and debugged in your editor of choice, so long as a connection to a Postgres database is available.

Building and running the logprocessor locally will require a .NET 5.0 SDK as well as a Java JRE > v1.7

URLS

The most importants URLS hosted by the Logprocessor are:

Misc.

  • Kibana
    • If you use the inspect button on tracked/faulted sessions, Kibana will ask you to create an 'index pattern' - Simply follow the on screen instructions and create an index pattern called 'fluentd-*' with timestamp field '@timestamp'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published