First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Showing specific HTTP answers of filtered requests

I'd like to filter some specific HTTP requests (for a specific domain for ex) and show only the response code of those filtered requests.

Isn't it possible with something like a macro, or a $_ variable or http.request_in ?

http.host contains "iwaxx" || corresponding_http.response.code

This would show 1 line for request and 1 line for response code.

TomLaBaude's avatar
112
TomLaBaude
asked 2019-01-10 14:20:39 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

Change 31184 added a field http.response_for.uri that contains as much of the request URI as is available.

This could be used in the first part of your filter as:

http.response_for.uri contains "iwaxx" || ...

Unfortunately the change hasn't (yet) been backported so you'll need to either use one of the automated builds produced since the change was merged, or build your own version from master.

grahamb's avatar
23.8k
grahamb
answered 2019-01-10 15:17:32 +0000
edit flag offensive 0 remove flag delete link

Comments

Awesome, thanks for the answer and the work : perfectly on time for my needs ! On each release, would this new filter be advertised somewhere, like in the release note?

TomLaBaude's avatar TomLaBaude (2019-01-11 09:24:58 +0000) edit

Such minor changes don't normally get announced, the closest we have to that for fields is the Display Filter Reference.

Maybe we should have a list somewhere for each release of field changes. This would require a tool of some sort added to the codebase so a Bugzilla Enhancement Request would be the place for this.

grahamb's avatar grahamb (2019-01-11 10:16:46 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer