Tuoda is
- a threat hunting tool for importing various logs into ArangoDB
- written in GO
- using ArangoDB as database backend
- developed on a Debian box
- Named after the Finnish word for "bring, import, get, carry, inject, win". You probably see where this is going ...
- OS: Developed and tested on Debian, other Linux distributions may work.
- DB: ArangoDB
- Go: Newest version available
TBA
This application relies on two configuration file sets:
- Application Configuration - The main configuration of the application itself. Connect to database etc.
- Parser Configuration files - JSON files descripting how to parse formats.
Note: Work in progress and is subject to change
This application is configuration lives inside the following path: ~/tuoda/config.json
Here's an example of config.json to connect to your ArangoDB instance:
{
"ArangoDB": {
"Address": "http://localhost:8529",
"Username": "",
"Password": "",
"Database": ""
}
}
Note: Work in progress and is subject to change
Tuoda doesn't have product specific parsers. Instead we rely on the underlying formats. For now we only support CSV. Here's an example of a CSV Zeek parser configuration you must refer to in CLI arguments:
{
"delimiter": "\t", # CSV delimiter
"parser_type": "csv", # Which parser to use
"column_headers": { # Section for handling CSV column headers
"line_pos": 7, # Line column headers is on - counting lines starting with 1. Set to value 0 if no headers present in CSV
"column_names": [], # Provide your own headers here. "line_pos" setting above will be ignored
"SkipCols": [1] # Skip header columns in position (list of indexes starting with 1)
},
"data": { # How data lines should be handled
"starts_at_line": 9 # On which line data starts. Note: 1 denotes the very first line
}
}