Ask Your Question
0

Showing specific HTTP answers of filtered requests

asked 2019-01-10 14:20:39 +0000

TomLaBaude gravatar image

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-01-10 15:17:32 +0000

grahamb gravatar image

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.

edit flag offensive delete link more

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 gravatar imageTomLaBaude ( 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 gravatar imagegrahamb ( 2019-01-11 10:16:46 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-01-10 14:20:39 +0000

Seen: 48 times

Last updated: Jan 10