Hello, I have been troubleshooting my logstash for some time now. I was following the "Parsing Logs with Logstash" tutorial for Windows and have not been able to see any output with the basic pipeline. Below is my first-pipeline.conf file:
Testing and running the configuration did not show any errors, but when I debug Logstash an error starts to repeat itself:
[DEBUG][logstash.instrument.periodicpoller.cgroup] One or more required cgroup files or directories not found: /proc/self/cgroup, /sys/fs/cgroup/cpuacct, /sys/fs/cgroup/cpu
Thanks for the quick response -- Does that mean the problem is not with logstash but filebeats? Below are my changes to the filebeat.yml:
# ============================== Filebeat inputs ===============================
filebeat.inputs:
# filestream is an input for collecting log messages from files.
- type: log
# Unique ID among all inputs, an ID is required.
id: my-filestream-id
# Change to true to enable this input configuration.
enabled: true
# Paths that should be crawled and fetched. Glob based paths.
paths:
- C:/Test/logstash-tutorial.log
# ------------------------------ Logstash Output -------------------------------
output.logstash:
# The Logstash hosts
hosts: ["localhost:5044"]
The elasticsearch output is commented out bc I saw that caused problems for other people.
# ================================== Outputs ===================================
# Configure what output to use when sending the data collected by the beat.
#output.stdout:
# pretty: true
output.console:
pretty: true
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.