Wireshark-commits: [Wireshark-commits] master fc6b8ab: tshark: improve -G elastic-mapping command b

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 19 Apr 2018 15:54:57 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=fc6b8ab698dc7af158620b52848fac9fae564199
Submitter: Dario Lombardo (lomato@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

fc6b8ab by Dario Lombardo (lomato@xxxxxxxxx):

    tshark: improve -G elastic-mapping command by adding filters.
    
    The generated elastic mapping file is huge and it can hassle softwares
    like Kibana. This change adds the ability to append desired filters
    that will appear in the mapping file.
    
    This change adds the option --elastic-mapping-filter <protocols> to tshark.
    
    Example: tshark -G elastic-mapping --elastic-mapping-filter ip,udp,dns
    
    make only those 3 protocols to appear in the mapping file.
    
    Change-Id: Ie2dcd6e44be2d084e8e50cd6554bd90178da4e38
    Reviewed-on: https://code.wireshark.org/review/27001
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Dario Lombardo <lomato@xxxxxxxxx>
    

Actions performed:

    from  ca45f88   tshark: put -G elastic-mapping in help under ifdef.
    adds  fc6b8ab   tshark: improve -G elastic-mapping command by adding filters.


Summary of changes:
 doc/tshark.pod | 17 +++++++++++++++--
 epan/proto.c   | 40 +++++++++++++++++++++++++++++++++++-----
 epan/proto.h   |  2 +-
 tshark.c       | 22 ++++++++++++++++++++--
 4 files changed, 71 insertions(+), 10 deletions(-)