Last active
April 22, 2021 01:27
-
-
Save colinsurprenant/50ba340cac2367710e21 to your computer and use it in GitHub Desktop.
Revisions
-
colinsurprenant revised this gist
Dec 6, 2015 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,4 +27,6 @@ $ while true; do cat t.t; done | bin/logstash -f myconfig.conf | pv -Wbart > /d 10.6KiB 0:01:15 [ 631 B/s] [ 732 B/s] ``` Here `[ 631 B/s]` is the current throughput in events per second and `[ 732 B/s]` is the average throughput for the test duration It is important to let logstash run for a while, to factor out the statup time and the JVM warmup. Typically the average throughput settles after 30 secs to 1 minute. -
colinsurprenant revised this gist
Dec 6, 2015 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,17 +9,20 @@ input { } } ``` - modify your config to use the **stdout output** with the **dots codec** ``` output { stdout { codec => dots } } ``` - continously send your sample data to logtash and check pv numbers ```sh $ while true; do cat t.t; done | bin/logstash -f myconfig.conf | pv -Wbart > /dev/null 10.6KiB 0:01:15 [ 631 B/s] [ 732 B/s] ``` -
colinsurprenant revised this gist
Dec 6, 2015 . No changes.There are no files selected for viewing
-
colinsurprenant revised this gist
Dec 6, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -19,7 +19,7 @@ output { - continously send your sample data to logtash and check pv numbers ``` $ while true; do cat t.t; done | bin/logstash -f myconfig.conf | pv -Wbart > /dev/null 10.6KiB 0:01:15 [ 631 B/s] [ 732 B/s] ``` -
colinsurprenant revised this gist
Dec 6, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,6 +18,7 @@ output { } - continously send your sample data to logtash and check pv numbers ```sh $ while true; do cat t.t; done | bin/logstash -f myconfig.conf | pv -Wbart > /dev/null 10.6KiB 0:01:15 [ 631 B/s] [ 732 B/s] -
colinsurprenant revised this gist
Dec 6, 2015 . 1 changed file with 5 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,18 +1,20 @@ ### Measuring logstash filters performance - given a data file sample named `data.log` - modify your config to use the **stdin input** so that you can pipe you sample log file to logstash ``` input { stdin { codec => line } } ``` - modify your config to use the **stdout output** with the **dots codec** ``` output { stdout { codec => dots } } - continously send your sample data to logtash and check pv numbers -
colinsurprenant revised this gist
Dec 6, 2015 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ ### Measuring logstash filters performance - given a data file sample named `data.log` - modify your config to use the stdin input so that you can pipe you sample log file to logstash ``` -
colinsurprenant revised this gist
Dec 6, 2015 . 1 changed file with 5 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,5 +15,8 @@ output { - continously send your sample data to logtash and check pv numbers ```sh $ while true; do cat t.t; done | bin/logstash -f myconfig.conf | pv -Wbart > /dev/null 10.6KiB 0:01:15 [ 631 B/s] [ 732 B/s] ``` Here `[ 631 B/s]` is the current throughput in events per second and `[ 732 B/s]` is the average throughput for the test duration -
colinsurprenant created this gist
Dec 6, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ - given a data file sample named `data.log` - modify your config to use the stdin input so that you can pipe you sample log file to logstash ``` input { stdin { codec => line } } ``` - modify your config to use the dots output ``` output { dots {} } - continously send your sample data to logtash and check pv numbers ```sh $ while true; do cat data.log; done | logstash -f myconfig.conf | pv -Bart ```