Page MenuHomeSoftware Heritage
Paste P316

fetch logs and compute group by end of exception message to have a sensible output of error occurrences
ActivePublic

Authored by ardumont on Oct 15 2018, 4:22 PM.
```
export PYTHONPATH=$SWH_ENVIRONMENT_HOME/snippets/ardumont:$PYTHONPATH
python3 -m kibana_fetch_logs > output.txt
cat output.txt | python3 -m group_by_exception --loader-type hg > output-group-by.txt
```
kibana_fetch_logs.py, group_by_exception.py in repository snippets:ardumont/