-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Extract log event context #275
Comments
I would love to have this feature too. |
+1 |
1 similar comment
+1 |
+10 |
When you expand a log and get the 'table' view by default, perhaps we could get another 'context' view. Might be wise to open a separate window with a smaller (predefined?) dashboard with the given filters? |
+1 |
+1 |
1 similar comment
+1 |
I'd also like this feature. Is there already a similar workflow/workaround that people already use for this sort of thing? Currently I search for the error in kibana, then change the filter to include only the file/server it came from and then just zoom in on the time around the error. |
+1 |
+1 |
+1 Why is this still not in Kibana? |
+1 |
2 similar comments
+1 |
+1 |
I will be working on this task in a forked repository for where I work. When I have it completed I will submit a pull request with how I have it implemented. |
So I have not been able to come up with a "creative" enough solution that I think would be generic enough to pulled into the main Kibana source, but I will still post what my solution to this was and anyone will be free to copy that for their own use. EDIT: |
spstapleton this is really great! Thanks! I`ve done some tests with this feature and found some things not working properly.
|
I can take a look into these in the next week or so and and let you know what I come up with. I think the special characters is an issue with not having the value uri encoded. |
@tma-ka Special Characters: Elastic Search by default will split text entries on certain special characters. For instance "te-st" would get two indexes by default, one for "te" and one for "st". Thus, when I have it do a context search for the term "te-st" it will not return any matching results. If you are predicting that the field you will be basing your context off of will have cases like that, I would suggest marking that field as 'not_analyzed' inside of elasticsearch. For the last point. It could be the case where you are not doing the sorting based of off the default timestamp. If that is the case the time variance is not actually used and it relies only on the max lookups. |
I fixed the special char problem by indexing a separate field as an identifier. Inside all special chars are removed so you have got only [A-Za-z0-9]. Anyway, I think the idea and the implementation from user point of view is nice. I would like to use it but cannot while it is in a branch. At the latest when I am updating my kibana from trunk all is lost. |
+1 lack of this feature has made Kibana practically useless. |
+1 |
1 similar comment
+1 |
As some might already have noticed by the auto-generated backlink above, I am currently working on a feature related to this enhancement request in PR #9198. Its goals have a large overlap with the requirements described in this issue and the comments. I would like to invite anyone interested to take a look at the screenshots or even to try out the development version and provide feedback and suggestions. Please keep in mind that this initial PR is intended to only cover basic functionality with more use-case specific features to follow in later PRs. |
I suspect people are starting to trickle back into work after the holidays. |
+1 |
10 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
Just in case folks aren't watching it, the event context PR got merged this morning: #9198 This is a first step toward addressing the many different use cases that drive this ticket, but feedback is still welcome! |
It has been very exciting watching the PR progression. Thanks for the update! |
Just curious - has anyone used logtrail to address this issue at all? It seems to address the issue of log context. I didn't get to download to play around with it though because my kibana version is slightly different. Would love to hear people's experiences with it. |
+9 |
+1 I would be happy to have to define the contextual search parameters: For us, that would either "application name" and the timestamp. Or, a more refined, "application name"+"host name" and timestamp. Or "traceId" and timestamp. They are of use in different scenarios. Then it would just be a matter of somehow select a line, and hit one of the context targets in "Get lines around in context 'App', 'App+Host' or 'TraceId'". |
+1 |
1 similar comment
+1 |
+1 |
This is to let you know that the first stage of this feature has just been released as part of Kibana 5.4, together with the whole Elastic Stack. I want to invite you to give it a try, maybe read the documentation, and let us know what you think:
And last but not least, we are hard at work adding filtering capabilities to the context view. You can follow the progress in #11466. As always, any and all feedback on that is appreciated and can only help to make Kibana better. |
When troubleshooting the cause of an ERROR log event, its really helpful to be able to see the log event context - i.e, which, say, 10 log events occured before and after the specific ERROR log event.
Loggly has a feature which does this quite nicely, as illustrated below

I have 2 questions concerning this:
Lastly, thanks!
The text was updated successfully, but these errors were encountered: