-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Include client IP/host in slowlog entries #9669
Comments
I agree this can be useful. It can also be useful in the context of shield to log user information |
+1 This would be very useful in troubleshooting where slow queries are coming from |
+1 there is no doubt about the usefulness of this enhancement |
Please add this - It's way to hard to locate the offending bad queries at this point in time. |
+1 |
+1 |
+1 |
+1 |
Discussed in FixItFriday - we should allow the requestor to specify a custom header (eg |
+1 This would be extremely useful |
+1 |
+1 for adding user IP and the opaque id to slow logs (and, maybe, the user name as well) |
+1 Really really need this, but for all logs, not just slow logs. |
The x-pack plugin provides similar functionality, see https://www.elastic.co/guide/en/x-pack/current/auditing.html |
+1 |
It looks like the |
closing as this is being supported by x-opaque-id |
Sometimes it may be helpful to be able to log the the host/IP of the end client that submitted a search or indexing request (eg. somebody has been sending these really bad queries to the cluster and we want to find out the host/IP of the offending search client application/host). Would be nice to have this as part of the slowlog entries.
The text was updated successfully, but these errors were encountered: