Database Logging

Hi! I would like to ask if pushing system data in Openwrt to a database is possible? if so how can i do it? I am using PostgreSQL. Thank you!!

you design and write the code required for pushing whatever data you'd like to save.

1 Like

Hi thanks for replying, if i were to write the code in python and push the data where do i place the code in the directory of openwrt?

depends on your device, in /overlay, if it's a vanilla plastic box router.

Tried googling for syslog, rsyslog, postgres, openwrt?

I never tried it and frankly can't tell if the results are nonsense,...but there are search results to inspect.

They really need to enable the full range of emoji reactions for discourse. Thumbs up is not enough when I want to react to your first replies on all those threads.

I don't want to go too much off topic, but have people posting here heard about this thing called internet and that you can search there?

And I mean, that would have been a sarcastic joke 20 years ago.

The question today should be, have you put your question into chatgpt (or alternatives, if you don't like openai) before posting here?