# aaa **Repository Path**: mirrors_arangodb/aaa ## Basic Information - **Project Name**: aaa - **Description**: Arango Agency Analyzer - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-02-03 - **Last Updated**: 2026-01-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Arango Agency Analyzer Allows analysis of arangodbs agency logs. ## Setup Install required python dependencies. ``` pip install -r requirements.txt ``` ## Usage Given a JSON encoded agency log in a file, start with ``` python aaa.py python aaa.py [-k] http|https:// python aaa.py [-k] -u http|https:// username:password ``` Close the program via `:q`. Use `-k` to disable ssl certificate validation. On the left side you can see a list of all log entries ordered by time. Use the `UP/DOWN` to navigate. The right side contains different views of information. Currently supported modes are - `log`: display the selected log entry - `store`: display the state of the agency at the selected moment (reconstructed from log entries) In both modes one can scroll the text using `UP/DOWN` keys. Focus can be switched using `TAB`. To change the view mode either use `F1/F2` or `:view `. When in `store` mode with focus on the view side, use `p` to modify the displayed path of the agency. Use `TAB` to auto complete your input. When in the left hand side, use `f` to enter a regular expression to filter entries by requested paths. Use `g` to do a basic grep like search on the log entries. Reset filters via `R`. To dump the content of the JSON view into a file use `:dump filename`. In the log list you can toggle entry markers using `m`. To delete the marking immediately use `M`. ### Save and Restore states You can save and restore states of the analyizer. To store a state use: `:(s|save|store) [name]` where name is the name of the state. if empty a prompt will open. To restore a state use: `:(r|restore) [name]` again name is optional and if empty a prompt with autocomplete will open. You can use `0-9` keys as shortcuts to restore state `"0"-"9"`. To save the state use `ALT + "x"`.