Management Commands

LogFlowAI includes several management commands for data ingestion and maintenance. For example, the import_logs command reads log entries from a CSV file and stores them in the database.

To run the command:

python manage.py import_logs

The code for this command is located in the logflowai/management/commands/import_logs.py file.

class logapp.management.commands.import_logs.Command(stdout=None, stderr=None, no_color=False, force_color=False)
handle(*args, **options)

The actual logic of the command. Subclasses must implement this method.