# Custom dump file

**URL:** <https://discourse.mitmproxy.org/t/custom-dump-file/1311>\
**Category:** Uncategorized\
**Created:** [October 30, 2018, 1:03am UTC](https://discourse.mitmproxy.org/t/custom-dump-file/1311 "2018-10-30T01:03:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Keshvadi](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/keshvadi/32/394_2.png) [@Keshvadi](https://discourse.mitmproxy.org/u/Keshvadi)\
**Post date:** [October 30, 2018, 1:03am UTC](https://discourse.mitmproxy.org/t/custom-dump-file/1311/1 "2018-10-30T01:03:36Z")

</div>

Hi. I am new in mitmproxy.  
I want to save logs, but just a few information like time, URL and size.

How can I save a customized log file?

Many thanks in advance.

---

<div class="post-metadata">

**Author:** ![teddy8478](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/teddy8478/32/414_2.png) [@teddy8478](https://discourse.mitmproxy.org/u/teddy8478)\
**Post date:** [November 4, 2018, 11:40am UTC](https://discourse.mitmproxy.org/t/custom-dump-file/1311/2 "2018-11-04T11:40:39Z")

</div>

you can write a script to transform the log  
[https://docs.mitmproxy.org/stable/tools-mitmdump/#scripted-data-transformation](https://docs.mitmproxy.org/stable/tools-mitmdump/#scripted-data-transformation)
