GitHub Issues are reserved for actionable bug reports and feature requests.
General questions should be sent to the InfluxDB mailing list.
Before opening an issue, search for similar bug reports or feature requests on GitHub Issues.
If no similar issue can be found, fill out either the "Bug Report" or the "Feature Request" section below.
Erase the other section and everything on and above this line.
Please note, the quickest way to fix a bug is to open a Pull Request.
Bug report
Relevant telegraf.conf:
System info:
[Include Telegraf version, operating system name, and other relevant details]
Steps to reproduce:
Need IIS logparser INput plugin for Telegraf
Tried Custom grok parser in logparser input plugin but that does not work
Expected behavior:
Need to throw some error about why custom log parser not working
Actual behavior:
Does not throw any error, so difficult to understand the problem
Additional info:
Below is the custom Input Logparser I am using in Grafana 3.1.1 but it does not work
Stream and parse log file(s).
[[inputs.logparser]]
Log files to parse.
These accept standard unix glob matching rules, but with the addition of
** as a "super asterisk". ie:
/var/log/**.log ->recursively find all .log files in /var/log
/var/log//.log ->find all .log files with a parent dir in /var/log
/var/log/apache.log -> only tail the apache log file
Directions
GitHub Issues are reserved for actionable bug reports and feature requests. General questions should be sent to the InfluxDB mailing list.
Before opening an issue, search for similar bug reports or feature requests on GitHub Issues. If no similar issue can be found, fill out either the "Bug Report" or the "Feature Request" section below. Erase the other section and everything on and above this line.
Please note, the quickest way to fix a bug is to open a Pull Request.
Bug report
Relevant telegraf.conf:
System info:
[Include Telegraf version, operating system name, and other relevant details]
Steps to reproduce:
Expected behavior:
Need to throw some error about why custom log parser not working
Actual behavior:
Does not throw any error, so difficult to understand the problem
Additional info:
Below is the custom Input Logparser I am using in Grafana 3.1.1 but it does not work
Stream and parse log file(s).
[[inputs.logparser]]
Log files to parse.
These accept standard unix glob matching rules, but with the addition of
** as a "super asterisk". ie:
/var/log/**.log ->recursively find all .log files in /var/log
/var/log//.log ->find all .log files with a parent dir in /var/log
/var/log/apache.log -> only tail the apache log file
files = ["C:/Temp/stats_access12.log"]
files = ["D:/CWS_Live_IIS_Logs/Server01/combined.log"]
Read file from beginning.
from_beginning = true
Parse logstash-style "grok" patterns:
Telegraf built-in parsing patterns: https://goo.gl/dkay10
[inputs.logparser.grok]
This is a list of patterns to check the given log file(s) for.
Note that adding patterns here increases processing time. The most
efficient configuration is to have one pattern per logparser.
Other common built-in patterns are:
%{COMMON_LOG_FORMAT} (plain apache & nginx access logs)
%{COMBINED_LOG_FORMAT} (access logs + referrer & agent)
patterns = ["%{COMMON_LOG_FORMAT}"]
patterns = ["%{COMBINED_LOG_FORMAT}"]
Name of the outputted measurement name.
Full path(s) to custom pattern files.
custom_pattern_files = ["D:/CWS_Live_IIS_Logs/Server01/combined.log"]
Custom patterns can also be defined here. Put one pattern per line.
[Include gist of relevant config, logs, etc.]
Feature Request
Opening a feature request kicks off a discussion.
Proposal:
Current behavior:
Desired behavior:
Use case: [Why is this important (helps with prioritizing requests)]