forensicmatt / CtfdLogs2Arango

Ingest CTFd logs into ArangoDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CtfdLogs2Arango

Tools and utilities to play with and ingest CTFd logs in ArangoDB.

scripts/ctfd_2_arango.py

This tool will ingest a folder with CTFd json logs into ArangoDB.

CtfdLogs2Arango\scripts>python ctfd_2_arango.py -h
usage: ctfd_2_arango.py [-h] -p PATH {arangodb} ...

Ingest CTFd json log files into ArangoDB.

positional arguments:
  {arangodb}

optional arguments:
  -h, --help            show this help message and exit
  -p PATH, --path PATH  The path to the json files.

CtfdLogs2Arango\scripts>python ctfd_2_arango.py arangodb -h
usage: ctfd_2_arango.py arangodb [-h] [--host HOST] [--port PORT] --database
                                 DATABASE

optional arguments:
  -h, --help           show this help message and exit
  --host HOST          The ArangoDB host.
  --port PORT          The ArangoDB port.
  --database DATABASE  The ArangoDB database to use.

AQL Examples

See aql_queries page.

About

Ingest CTFd logs into ArangoDB

License:Apache License 2.0


Languages

Language:Python 100.0%