opnsense-docs/source/development/api/core/syslog.rst

32 lines
1.4 KiB
ReStructuredText
Raw Permalink Normal View History

2020-02-16 10:08:40 -05:00
Syslog
~~~~~~
.. csv-table:: Service (ServiceController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
2022-10-19 11:21:08 -04:00
"``POST``","syslog","service","reconfigure",""
2024-05-04 04:03:42 -04:00
"``POST``","syslog","service","reset",""
2022-10-19 11:21:08 -04:00
"``POST``","syslog","service","restart",""
"``POST``","syslog","service","start",""
2020-02-16 10:08:40 -05:00
"``GET``","syslog","service","stats",""
2021-03-08 06:23:28 -05:00
"``GET``","syslog","service","status",""
2022-10-19 11:21:08 -04:00
"``POST``","syslog","service","stop",""
2020-02-16 10:08:40 -05:00
2020-04-07 14:53:31 -04:00
"``<<uses>>``", "", "", "", "*model* `Syslog.xml <https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/models/OPNsense/Syslog/Syslog.xml>`__"
2020-02-16 10:08:40 -05:00
.. csv-table:: Resources (SettingsController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","syslog","settings","add_destination",""
"``POST``","syslog","settings","del_destination","$uuid"
2021-03-08 06:23:28 -05:00
"``GET``","syslog","settings","get",""
"``GET``","syslog","settings","get_destination","$uuid=null"
"``*``","syslog","settings","search_destinations",""
2022-10-19 11:21:08 -04:00
"``POST``","syslog","settings","set",""
"``POST``","syslog","settings","set_destination","$uuid"
"``POST``","syslog","settings","toggle_destination","$uuid,$enabled=null"
2020-04-07 14:53:31 -04:00
"``<<uses>>``", "", "", "", "*model* `Syslog.xml <https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/models/OPNsense/Syslog/Syslog.xml>`__"