-
Notifications
You must be signed in to change notification settings - Fork 19
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
Identify queries associated with scenario/user workflow in log #1
Comments
With the help of security team I may confirm that it is possible to pass a custom header, Kibana will ignore it but will print it out in requests log.
Security folks are working on enhancing audit logging which be a bit more flexible and might be more useful for this case. Coming in 7.11+ elastic/kibana#52125 |
I stumbled across this issue and I think this capability (originally requested for telemetry purposes) may be related. elastic/kibana#77214 |
As discussed with @dmlemeshko we would like to identify the ES queries issued by Kibana when a scenario is executed. We will use these queries for Rally load testing. This is possible using via elasticsearch.logQueries.
However, we also need to identify which queries are associated with which kibana API call and scenario e.g. logging into discover. When loading testing with Rally, we would execute those queries associated with a scenario together - thereby simulating a user action. In order to do this, we need someway of grouping queries in the logs.
One proposal here is for the load gen to attach a unique value to a custom header for each scenario - this could just be a generated uuid and/or the name of the scenario. We need to determine if Kibana can be made to log these headers when logging Kibana queries. A change of this value in the log would in turn indicate a new scenario.
@dliappis
The text was updated successfully, but these errors were encountered: