-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Ability to use path.logs under each pipeline #10427
Comments
+1 |
+1 |
To all voting +1 here, there's a PR in progress to write one log file per pipeline. Would this solve the needs y'all have, or is a configurable path.log necessary? If so, can you explain your use case? If all are good with having separate logs per pipeline in the same |
IMHO the ideal behavior should be like this: path.logs set in logstash.yml: all logs go into one logfile path.logs set in pipelines.yml: specific logfile in a configurable path We are running logstash as a shared environment for different departments. Each one has an own folder with the pipeline config. We would like to have the logs for each individual pipeline under the user's home directory. |
@cskowronnek |
Hi,
I was under the impression I could set individual log paths for each pipeline. Now I've got individual files in /var/log/logstash/ |
@cskowronnek could you share here how you valued the |
@andsel
|
@cskowronnek the config |
@andsel So the short answer is: I can't specify different logfile targets in pipelines? Is there any chance that could be implemented? After this request here and #11076 I was hoping I could set different log paths. |
Yes you are right, at the moment you can only specify where you want to put all your log file, but you can' define a specific path for each one.We thought that using the pipeline name as log file name was the most straightforward and simply settings for users. The discussion to provide a separate file definition for each pipeline could be open if it gains interest. |
I'd be interested in being able to set per-pipeline log levels. Being able to set a troublesome pipeline to debug without having all the other logs flooded with unnecessary debug information would be great. |
@wwalker0307 your suggestion is tracked in #12473 |
In logstash.yml it is possible to specify path.logs so logs related to all pipelines will be directed to the same log folder
Ability to have a different log file for each pipeline
For example if pipeline.yml would support something like this :
The text was updated successfully, but these errors were encountered: