Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TLS support for file monitoring #88

Merged
merged 13 commits into from Oct 10, 2017

Stop statement is needed in the configuration

Issue:  Below error encountered:

~ action is deprecated, consider using the 'stop' statement instead

Resolved by changing ~ to stop.
  • Loading branch information
Shwetajain148
Shwetajain148 committed Apr 13, 2017
commit fad4d392c8a161d83793221e365e7218ddaceafd
@@ -446,7 +446,7 @@ write21ConfFileContents()
#Add a tag for file events
template (name=\"$CONF_FILE_FORMAT_NAME\" type=\"string\" string=\"<%pri%>%protocol-version% %timestamp:::date-rfc3339% %HOSTNAME% %app-name% %procid% %msgid% [$LOGGLY_AUTH_TOKEN@41058 $TAG] %msg%\n\")
if \$programname == '$LOGGLY_FILE_TO_MONITOR_ALIAS' then action(type=\"omfwd\" protocol=\"tcp\" target=\"logs-01.loggly.com\" port=\"514\" template=\"$CONF_FILE_FORMAT_NAME\")
if \$programname == '$LOGGLY_FILE_TO_MONITOR_ALIAS' then ~
if \$programname == '$LOGGLY_FILE_TO_MONITOR_ALIAS' then stop
"
else
imfileStr="
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.