Hi at all,
i need to parse a log to telegraf with the next format:
[INFO] [24/02/20-15:49:24] [http-bio-8080-exec-36154] MMSignupsClient.globalSellOnLine() - appid: WD
i have configured logparser input plugin:
[[inputs.logparser]]
files = ["/tmp/distributors.log"]
from_beginning = true
Method used to watch for file updates. Can be either “inotify” or “poll”.
watch_method = “inotify”
[inputs.logparser.grok]
## %{COMMON_LOG_FORMAT} (plain apache & nginx access logs)
## %{COMBINED_LOG_FORMAT} (access logs + referrer & agent)
patterns = ["%{COMMON_LOG_FORMAT}"]
## Name of the outputted measurement name.
measurement = "distributors"
## Full path(s) to custom pattern files.
custom_pattern_files = []
## Custom patterns can also be defined here. Put one pattern per line.
custom_patterns = '''
'''
But the output doesnt work, there is no data at the output.
Please can you help me?
regards