%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /backups/router/usr/local/opnsense/mvc/app/models/OPNsense/Syslog/
Upload File :
Create Path :
Current File : //backups/router/usr/local/opnsense/mvc/app/models/OPNsense/Syslog/Syslog.xml

<model>
    <mount>//OPNsense/Syslog</mount>
    <version>1.0.2</version>
    <items>
        <general>
            <enabled type="BooleanField">
                <Default>1</Default>
                <Required>Y</Required>
            </enabled>
            <loglocal type="BooleanField">
                <Default>1</Default>
                <Required>Y</Required>
            </loglocal>
            <maxpreserve type="IntegerField">
                <Default>31</Default>
                <Required>Y</Required>
            </maxpreserve>
            <maxfilesize type="IntegerField"/>
        </general>
        <destinations>
            <destination type="ArrayField">
                <enabled type="BooleanField">
                  <Default>1</Default>
                  <Required>Y</Required>
                </enabled>
                <transport type="OptionField">
                  <Required>Y</Required>
                  <Default>udp</Default>
                  <OptionValues>
                      <udp4>UDP(4)</udp4>
                      <tcp4>TCP(4)</tcp4>
                      <udp6>UDP(6)</udp6>
                      <tcp6>TCP(6)</tcp6>
                      <tls4>TLS(4)</tls4>
                      <tls6>TLS(6)</tls6>
                  </OptionValues>
                </transport>
                <program type="JsonKeyValueStoreField">
                  <Multiple>Y</Multiple>
                  <ConfigdPopulateAct>syslog list applications</ConfigdPopulateAct>
                  <SortByValue>Y</SortByValue>
                  <ValidationMessage>Specify valid source applications.</ValidationMessage>
                </program>
                <level type="OptionField">
                  <Multiple>Y</Multiple>
                  <OptionValues>
                      <debug>debug</debug>
                      <info>info</info>
                      <notice>notice</notice>
                      <warn>warn</warn>
                      <err>error</err>
                      <crit>critical</crit>
                      <alert>alert</alert>
                      <emerg>emergency</emerg>
                  </OptionValues>
                </level>
                <facility type="OptionField">
                  <Multiple>Y</Multiple>
                  <OptionValues>
                      <kern>kernel messages</kern>
                      <user>user-level messages</user>
                      <mail>mail system</mail>
                      <daemon>system daemons</daemon>
                      <auth>security/authorization messages</auth>
                      <syslog>messages generated internally by syslogd</syslog>
                      <lpr>line printer subsystem</lpr>
                      <news>network news subsystem</news>
                      <uucp>UUCP subsystem</uucp>
                      <cron>clock daemon</cron>
                      <authpriv>security/authorization messages</authpriv>
                      <ftp>FTP daemon</ftp>
                      <ntp>NTP subsystem</ntp>
                      <security>log audit</security>
                      <console>log alert</console>
                      <local0>locally used (0)</local0>
                      <local1>locally used (1)</local1>
                      <local2>locally used (2)</local2>
                      <local3>locally used (3)</local3>
                      <local4>locally used (4)</local4>
                      <local5>locally used (5)</local5>
                      <local6>locally used (6)</local6>
                      <local7>locally used (7)</local7>
                  </OptionValues>
                </facility>
                <hostname type="HostnameField">
                    <Required>Y</Required>
                </hostname>
                <certificate type="CertificateField">
                    <ValidationMessage>Please select a valid certificate from the list</ValidationMessage>
                </certificate>
                <port type="PortField">
                    <Required>Y</Required>
                    <Default>514</Default>
                </port>
                <rfc5424 type="BooleanField">
                  <Default>0</Default>
                  <Required>Y</Required>
                </rfc5424>
                <description type="DescriptionField"/>
            </destination>
        </destinations>
    </items>
</model>

Zerion Mini Shell 1.0