Skip to content
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

Ability to search by stack signature data #357

Open
Jaans opened this issue Feb 13, 2018 · 5 comments
Open

Ability to search by stack signature data #357

Jaans opened this issue Feb 13, 2018 · 5 comments

Comments

@Jaans
Copy link

Jaans commented Feb 13, 2018

We are struggling to find events via the search filter using the stacking information.

So we have lots of log messages (non exceptions) with the stacking information based on "Type", "MemberName" that it occurs in. Sample screenshot attached.
image

We've tried all the combinations below to search/filter for it but none of them show up. What are we missing?

@niemyjski
Copy link
Member

We are not indexing the stacking information on stacks. But you could search for events with error.targettype and error.targetmethod as described in https://github.com/exceptionless/Exceptionless/wiki/Filtering-Searching#searchable-fields--requirements. @ejsmith do you remember if there was any reason we were not indexing this?

@Jaans
Copy link
Author

Jaans commented Feb 17, 2018

Thanks for the feedback.
We use a custom manual stacking strategy for non-exception (log) messages. I don't think error.targettype and error.targetmethod even gets populated when it's not an exception.

I would be great is there is an ability to define - for a project - which "additional indexes" are needed. I'm not sure what that means for SaaS service if that impacts on additional storage and/or processing.

We could try and log the custom stacking information elsewhere in duplicate to try and get it searchable.

Thanks!!

@niemyjski
Copy link
Member

@Jaans what you could do here is just place the field in the event's data bag via EventBuilder.SetProperty("name", value). As long as the value is a simple type you can search on it via data.name. Does this help?

@niemyjski niemyjski changed the title Search limitations Ability to search by stack signature data Jan 13, 2020
@niemyjski
Copy link
Member

@ejsmith What are your thoughts on this?

@ejsmith
Copy link
Member

ejsmith commented Sep 1, 2021

I think it would be good, but it requires us to have some sort of shared indexing slots to be able to make it work in a multi-tenant app. We might be able to do something simple like just add anything in the stacking info to a single field as keywords where you could just search that to get matches, but if that's not good enough then it would require a lot more effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants