-
Notifications
You must be signed in to change notification settings - Fork 20
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
lsperfm getting stuck when file output is specified #22
Comments
Interesting, never tested with the file output, is actually on my TODO list, so thanks for reporting. All default configuration I've been using always use stdin/stdout. It actually might make sense that is not working properly with file output, as the code is relaying on the output of messages to control the workflow. Can you test by doing two outputs, one to STDOUT and another to the file output? |
Yes it is working if I specify two outputs.
|
yes, for now you should always use stdin and stdout :-(, in the next versions using other input and output plugins will come. |
Thanks purbon. So in output alongwith |
For now is better to only use stdin and stdout, the number counting is done only with data out of stdout. |
Ok :) |
As noted, the current system spawns an external logstash process and relies on For now, there isn't much we can do for the input side, |
this was originally designed mainly for pipeline/codecs/filters benchmarking, without having any introspection API in logstash. This definitely raises the question of how to monitor logstash performance without relying on something we can control like |
+1 @colinsurprenant, this is actually on the roadmap of tasks for LS and the benchmarking efforts. |
@colinsurprenant If I add stdout and some other output will the resulting metrics take into account only stdout or both stdout and the other output? |
Only stdout, as this is the intended first design of it. For now i /purbon On Tue, 14 Jul 2015 20:48 Debraj Manna [email protected] wrote:
|
@debraj-manna @purbon both when having 2 outputs defined, (without additional output workers and this is important), say output-1 and output-2, every event resulting from the filter stage will be pushed into an intermediate queue so the output stage can pick them up. the output stage will pop an event from the queue and this event will be passed to output-1 then output-2 and once output-2 is finished and returns, it will go back and pop another element from the queue and repeat the process. this means that the overall TPS (or transactions/event per seconds) your logstash setup is achieving will include the cost of outputting each event to both outputs but as I say, outputting to also, it won't actually make a difference where you put the |
It seems lsperm is getting stuck when
file
output plugin is used. It is just printing.............................
Below are my suite:-
conf/simple.conf
input/simple.txt
suite/suite.rb
The text was updated successfully, but these errors were encountered: