Skip to content
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

Added SampleLabel parsing, which can be used to send custom fields to ElasticSearch. #95

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

swetrify
Copy link

It uses SampleLabel which is split by delimiter (default is “_”) and then for each split value it adds key-value pairs based on second delimiter (default is “:”).
Example:
JMeter_SampleLabel
SampleLabel "Id:01_Transaction:Login" is split by delimiter “_” as

  1. Id:01
  2. Transaction:Login

which is then split as key-value pairs by delimiter “:”

  1. key = Id, value = 01
  2. key = Transaction, value = Login

and sent to ElasticSearch.

There are 3 new settings for the plugin:
JMeter_SampleLabel_plugin_additions

  1. es.parse.samplelabel – turn on and off SampleLabel parsing (default is off)

  2. es.parse.samplelabel.delimiter – delimiter for splitting each parameter

  3. es.parse.samplelabel.keyvalue.delimiter – delimiter for splitting key-value pairs from parameter

@swetrify swetrify changed the title I have implemented SampleLabel parsing, which can be used to send custom fields to ElasticSearch. Added SampleLabel parsing, which can be used to send custom fields to ElasticSearch. Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant