Skip to content

Commit ed41da5

Browse files
authored
Merge pull request #11 from EvoTestOps/usage-guide
Usage guide
2 parents 61599db + 7c9325f commit ed41da5

13 files changed

+112
-15
lines changed

README.md

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,34 @@
22

33
Web application for visualizing and analysing log files.
44

5-
![Project page](./images/project_page.png)
5+
![Project page](./docs/images/project_page.png)
66

7-
## Feature Overview
7+
## Feature Overview
88

9-
Visual Log Analyzer provides similar log analysis capabilities as those found in [LogDelta](https://github.com/EvoTestOps/LogDelta).
9+
Visual Log Analyzer provides similar log analysis capabilities as those found in [LogDelta](https://github.com/EvoTestOps/LogDelta).
1010

11-
Analysis types:
12-
- High-level visualizations
11+
Analysis types:
12+
13+
- High-level visualizations
1314
- Log distance analysis
14-
- Anomaly detection
15+
- Anomaly detection
1516

16-
These features can be applied at different levels: directory, file or line, depending on the analysis type.
17+
These features can be applied at different levels: directory, file or line, depending on the analysis type.
1718

18-
Analyses are run as background tasks which gives the option to run multiple analyses in parallel. However, performance may vary depending on the size of the datasets and the available memory.
19+
Analyses are run as background tasks which gives the option to run multiple analyses in parallel. However, performance may vary depending on the size of the datasets and the available memory.
1920

2021
## Run locally
2122

23+
For a more detailed guide, see the [Usage guide](./docs/usage_guide.md).
24+
2225
By default, the program expects the datasets to be located within the `log_data/` directory. To change the location of the log data, update the `LOG_DATA_DIRECTORY` environment variable in the `.env.sample` file. The analysis results are stored in `analysis_results/` as parquet files.
2326

2427
It is a good idea to create the result directory yourself so you don't run into permission issues.
2528

2629
To start the application, clone this repository and run: `docker compose up`
2730

2831
**Note:** Before starting, either:
32+
2933
- Rename `.env.sample` to `.env`
3034
- or run compose with `docker compose --env-file .env.sample up`
3135

@@ -56,6 +60,7 @@ log_data/
5660
```
5761

5862
You can also structure your datasets into subdirectories for easier management, and then specify the base path when creating a project:
63+
5964
```
6065
log_data/
6166
├── hadoop
@@ -66,17 +71,19 @@ log_data/
6671
├── correct_1
6772
└── correct_n
6873
```
74+
6975
With project base path `./log_data/LO2` when working with the LO2-dataset.
7076

71-
## Usage Tips & Troubleshooting
72-
- **Isolate a specific trace:** Double-clicking a legend item will isolate that trace, hiding all others. This is especially useful in line-level anomaly detection, where plots can be cluttered.
77+
## Usage Tips & Troubleshooting
78+
79+
- **Isolate a specific trace:** Double-clicking a legend item will isolate that trace, hiding all others. This is especially useful in line-level anomaly detection, where plots can be cluttered.
7380

74-
- **Resize plots:** Plots can be resized by dragging the bottom-right corner of the plot.
81+
- **Resize plots:** Plots can be resized by dragging the bottom-right corner of the plot.
7582

76-
- **Manual filename entry:** Consider enabling “Manual filename entry” in the settings to avoid dropdown generation delays when working with large datasets with a lot of files, with the drawback of having to manually input filenames.
83+
- **Manual filename entry:** Consider enabling “Manual filename entry” in the settings to avoid dropdown generation delays when working with large datasets with a lot of files, with the drawback of having to manually input filenames.
7784

78-
- **Display moving averages:** To visualize moving averages in line-level plots, make sure to enable them in the settings.
85+
- **Display moving averages:** To visualize moving averages in line-level plots, make sure to enable them in the settings.
7986

80-
- **“No comparison runs found”-error:** Check “Match filenames”-setting. If it is enabled intentionally, ensure that the log data directory structure is consistent.
87+
- **“No comparison runs found”-error:** Check “Match filenames”-setting. If it is enabled intentionally, ensure that the log data directory structure is consistent.
8188

82-
- **Timestamps:** If the timestamps are incorrect, try modifying the PostgreSQL time zone setting in the env file.
89+
- **Timestamps:** If the timestamps are incorrect, try modifying the PostgreSQL time zone setting in the env file.

docs/images/ano_line_lvl_form.png

76.8 KB
Loading
192 KB
Loading

docs/images/ano_line_results.png

502 KB
Loading
222 KB
Loading
90.3 KB
Loading

docs/images/high_lvl_viz_form.png

50.5 KB
Loading
76.2 KB
Loading

docs/images/multi_plot.png

217 KB
Loading

docs/images/project_creation.png

40 KB
Loading

0 commit comments

Comments
 (0)