ElasticSearch
Use ElasticSearch to query JSON for analysis
Categories:
If you have a lot of data already stored in an Elasticsearch instance, you can query it and analyze the data for regressions in Horreum.
Configuration
To configure a test to use the elasticsearch
backend, you need to be a team administrator. With the correct permissions, you can:
- Generate a new API key for the
elasticsearch
backend: Please see the elasticsearch docs on how to generate an API key on the Management page - Navigate to
Administration
->Datastores
configuration page, e.g.http://localhost:8080/admin#datastores
- Select the
Team
from theTeam
dropdown that you wish to configure - Click
New Datastore
- Configure the
Elasticsearch
Datastore:
- Select
Elasticsearch
from theDatastore Type
dropdown - Provide a
Name
for the Datastore - Enter the
URL
for the Elasticsearch instance - Enter the
API Key
for the Elasticsearch instance, generated in step 1 - Click
Save
Test Configuration
To configure a test to use the elasticsearch
backend, you can:
- Navigate to a test configuration page, e.g.
http://localhost:8080/test/10
- Select the
Elasticsearch
backend defined in theDatastores
configuration from theDatastore
dropdown
- Click
Save
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.