V
V
volkov12feb2022-03-31 17:00:41
Django
volkov12feb, 2022-03-31 17:00:41

How to make an nginx access log data aggregator in Django with saving to the database?

Tell me the solution for this task, as well as for data parsing to be performed by cron'y.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2022-03-31
@karabanov

Nginx can write logs in JSON You can parse
JSON and put it into the database just with a Python script without Django at all
Adding a line to crontab so that the script runs on schedule is not a problem at all.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question