Skip to content

Instantly share code, notes, and snippets.

@paulmooring
Created September 27, 2013 18:07
Show Gist options
  • Save paulmooring/6732632 to your computer and use it in GitHub Desktop.
Save paulmooring/6732632 to your computer and use it in GitHub Desktop.
$ModLoad imfile
$inputFileName /srv/nginx/log/<VHOST_NAME>.access.log
$inputFileTag <VHOST_NAME>_info:
$InputFileStateFile <VHOST_NAME>_info_state
$InputFileSeverity info
$InputFileFacility local7
$InputRunFileMonitor
*.* @@<REMOTE SYSLOG IP>:514
:syslogtag, isequal, "<VHOST_NAME>_info:" ~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment