Dre4m Shell
Server IP : 127.0.0.2  /  Your IP : 13.58.229.23
Web Server : Apache/2.4.18 (Ubuntu)
System :
User : www-data ( )
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/doc/cloud-init/examples/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /usr/share/doc/cloud-init/examples/cloud-config-rsyslog.txt
#cloud-config
## the rsyslog module allows you to configure the systems syslog.
## configuration of syslog is under the top level cloud-config
## entry 'rsyslog'.
##
## Example:
#cloud-config
rsyslog:
  remotes:
    # udp to host 'maas.mydomain' port 514
    maashost: maas.mydomain
    # udp to ipv4 host on port 514
    maas: "@[10.5.1.56]:514"
    # tcp to host ipv6 host on port 555
    maasipv6: "*.* @@[FE80::0202:B3FF:FE1E:8329]:555"
  configs:
    - "*.* @@192.158.1.1"
    - content: "*.*   @@192.0.2.1:10514"
      filename: 01-example.conf
    - content: |
        *.*   @@syslogd.example.com
  config_dir: /etc/rsyslog.d
  config_filename: 20-cloud-config.conf
  service_reload_command: [your, syslog, reload, command]

## Additionally the following legacy format is supported
## it is converted into the format above before use.
##  rsyslog_filename -> rsyslog/config_filename
##  rsyslog_dir -> rsyslog/config_dir
##  rsyslog -> rsyslog/configs
# rsyslog:
#   - "*.* @@192.158.1.1"
#   - content: "*.*   @@192.0.2.1:10514"
#     filename: 01-example.conf
#   - content: |
#       *.*   @@syslogd.example.com
# rsyslog_filename: 20-cloud-config.conf
# rsyslog_dir: /etc/rsyslog.d

## to configure rsyslog to accept remote logging on Ubuntu
## write the following into /etc/rsyslog.d/20-remote-udp.conf
##   $ModLoad imudp
##   $UDPServerRun 514
##   $template LogRemote,"/var/log/maas/rsyslog/%HOSTNAME%/messages"
##   :fromhost-ip, !isequal, "127.0.0.1" ?LogRemote
## then:
## sudo service rsyslog restart

Anon7 - 2022
AnonSec Team