2
0
mirror of https://github.com/opnsense/docs synced 2024-11-18 21:28:29 +00:00
opensense-docs/source/development/api/core/syslog.rst

24 lines
1.0 KiB
ReStructuredText
Raw Normal View History

2020-02-16 15:08:40 +00:00
Syslog
~~~~~~
.. csv-table:: Service (ServiceController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","syslog","service","stats",""
"``<<uses>>``", "", "", "", "*model* `Syslog.xml <https://github.com/opnsense/core/blob/master/../core/src/opnsense/mvc/app/models/OPNsense/Syslog/Syslog.xml>`__"
2020-02-16 15:08:40 +00:00
.. csv-table:: Resources (SettingsController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","syslog","settings","addDestination",""
"``POST``","syslog","settings","delDestination","$uuid"
"``GET``","syslog","settings","getDestination","$uuid=null"
"``*``","syslog","settings","searchDestinations",""
"``POST``","syslog","settings","setDestination","$uuid"
"``POST``","syslog","settings","toggleDestination","$uuid,$enabled=null"
"``<<uses>>``", "", "", "", "*model* `Syslog.xml <https://github.com/opnsense/core/blob/master/../core/src/opnsense/mvc/app/models/OPNsense/Syslog/Syslog.xml>`__"