{"repo":"Amerousful/gatling-elasticsearch-logs","free":true,"listed":false,"github":"https://github.com/Amerousful/gatling-elasticsearch-logs","clone":"git clone https://github.com/Amerousful/gatling-elasticsearch-logs.git","description":"Send Gatling logs to Elasticsearch","language":"Scala","stars":14,"topics":["gatling","elasticsearch","load-testing","performance-testing"],"license":"MIT","category":"analytics","readme_excerpt":"Gatling Elasticsearch Logs Logger which parses raw Gatling logs and sends them to the Elasticsearch. Motivation By default, Gatling writes logs to the console, which is inconvenient for analysing, collecting and storing information. In fact, metrics don't contain the details of errors, they only have request status OK or KO. When a metric occurs with an error it's impossible to figure out what happened: a check failed? got 404? or it was 502? etc. Also, if you run load tests in the distributed mode, it will store your logs in separate injectors. This logger allows getting all useful information so that it will be possible to correlate with your metrics. To recap, the Logger is solving two main problems: - Distributed metrics sending and storing them - You can build a Graph with errors details for correlation by metrics Install Maven: Add to your pom.xml SBT Add to your build.sbt How to configure logback.xml I provide minimal configuration, but you can add additional things what you need This logger based on https://github.com/agido-malter/logback-elasticsearch-appender which is directly responsible for sending to Elasticsearch. There you can find some addition and useful options related with sending Pay attention on two variables in config: elkUrl - URL of your Elasticsearch logLevel - log's level. DEBUG to log all failed HTTP requests. TRACE to log all HTTP requests Example how to pass the above variable during the run load test: Flags: Parse Session Logger can also parse Se","default_branch":null,"files":null,"tree":[],"storefront":"/r/Amerousful","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Amerousful/gatling-elasticsearch-logs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}