You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yml file section:
agents:
my_logfile_1:
# Full path to the the log file
log_path: c:/log.log
# Returns the number of matches for this term. Use Linux Regex formatting.
# Default: "[Ee]rror"
term: "[Ee]rror "
# Provide any options to pass to grep when running.
# For example, to count non-matching lines, enter 'v'.
# Use the abbreviated format ('v' and not 'invert-match').
grep_options:
c:\Scripts\newrelic_logwatcher_agent>ruby newrelic_logwatcher_agent.rb
Agent Logwatcher is at version 0.0.2
c:/Scripts/newrelic_logwatcher_agent -> This is the cur directory
c:/log.log
Error occurred in poll cycle: No such file or directory - test -e c:/log.log
Gathered 0 statistics
The text was updated successfully, but these errors were encountered:
When I add this entry into the generated newrelic yml file and run the agent i keep getting the error below:
I'd like to make a absolute path to a file, I've tried many different ways, could someone help?
log_path: c:/log.txt
log_path: c:\log.txt
log_path: c:\log.txt
log_path: log.txt
yml file section:
agents:
my_logfile_1:
# Full path to the the log file
log_path: c:/log.log
# Returns the number of matches for this term. Use Linux Regex formatting.
# Default: "[Ee]rror"
term: "[Ee]rror "
# Provide any options to pass to grep when running.
# For example, to count non-matching lines, enter 'v'.
# Use the abbreviated format ('v' and not 'invert-match').
grep_options:
c:\Scripts\newrelic_logwatcher_agent>ruby newrelic_logwatcher_agent.rb
Agent Logwatcher is at version 0.0.2
c:/Scripts/newrelic_logwatcher_agent -> This is the cur directory
c:/log.log
Error occurred in poll cycle: No such file or directory - test -e c:/log.log
Gathered 0 statistics
The text was updated successfully, but these errors were encountered: