← All dashboards

Vegeta Test Results with Logstash

Logstash, Elasticsearch base dashboard to visualize Vegeta performance test results.

View your performance test results LIVE !!

  1. Install Logstash in your host server and feed Elasticsearch base (https://www.elastic.co/guide/en/logstash/6.8/index.html)
  2. Make sure you receive the data in ES base
  3. Grafana: Add the Elasticsearch source (https://grafana.com/docs/grafana/latest/features/datasources/elasticsearch/)
  4. Import the dashboard json into Grafana (https://grafana.com/docs/grafana/latest/reference/export_import/)
  5. Customise your dashboard
  6. Select the report name which you want to see by using the drop down

Logstash version: 7.6.0 Elasticsearch : v7.6.0 Grafana : v6.6.2

Collector Configuration Details

Logstash configuration :

input {
	file {
		path => "/vegeta/*.json"
		start_position => "beginning"
		codec => "json"
	}
}

filter {
	json {
		source => "message"
	}
	grok {
		match => ["path", "%{GREEDYDATA}/%{GREEDYDATA:report_title}\.json"]
	}
}


output {
	elasticsearch {
		hosts => ["localhost:9200"]
	}
	stdout {
		codec => rubydebug
	}
}

Vegeta run command:

  1. Download the latest Vegeta release (https://github.com/tsenart/vegeta)
  2. Run your vegeta command as follows:
echo "POST http://www.example.com" | vegeta attack -rate=100 -duration=90s | vegeta report -every=10ms -type=json -output=/vegeta/test.json

Dashboard revisions

RevisionDecscriptionCreated

Reviews

Login or Sign up to write a review

Reviews from the community

Get this dashboard

Data source:

Dependencies:

Import the dashboard template:

or

Download JSON

Docs: Importing dashboards

Downloads: 72