A React app for viewing logs generated of ETLBox
This project is a User Interface for logs produced by ETLBox. See also the ETLBox homepage for more details.
In order to use the ETLBox LogViewer, you need to have ETLBox logging tables created within your database. Check in your database if you find the tables etl.LoadProcess and etl.Log
Also you should be familiar with the basic concepts of ETLBox, and how to produce log entries in the log tables.
Using the LogViewer
Currently, the project is in Beta - there is no installation routine or nuget package available. If you want to use the LogViewer, you need to clone the repo and open the solution. I recommend to use the latest Visual Studio (2017 or higher). You should be able to start the solution and a browser should pop up displaying demo data.
Changing the webservice
The ClientApp in the current version of Log Viewer connects to demo controllers. The
DemoProcessControlloer will always return a fixed set of data for demo purposes. If you want to connect the web services to your real-life ETLBox logging tables, you need to change the thunks.js in the store folder.
They will contain a fetch from the DemoController:
You need to change this to the Webservice or ASP.NET Controller which are connected to your database.
Additionally, you need to have controllers in place that return the JSON data. You will find examples for this in the demo controller as well. Likely you will need to copy these and create your own webservices returning the json data needed for the ClientApp. Make sure you use the
GetLoadProcessAsJSONTask once you connected to your database containing the log tables. They will transform your tables into the right JSON format.