Custom filters can be set and save from the UI. In the AndroidMonitor tab, click on the right dropdown (must contains Show only selected application or No filters) and select Edit filter configuration.

Enter the filter you want

http://i.stack.imgur.com/0cm2p.png

And use it (you can selected it from the same dropdown)

http://i.stack.imgur.com/5ujVM.png

Important If you add an input in the filter bar, android studio will consider both your filter and your input.

With both input and filter there is no output

http://i.stack.imgur.com/oSuUP.png

Without filter, there is some outputs

http://i.stack.imgur.com/31oP6.png