From 7c7ab49f3ae792f94ef5530802964e092e099320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Meni=C3=B1o?= Date: Fri, 12 Apr 2019 14:59:36 -0500 Subject: [PATCH] directory changes --- README.md | 43 +++++++++++++++++++++++++++++++++++++++++++ exported/.gitignore | 2 ++ pm_files/.gitignore | 2 ++ 3 files changed, 47 insertions(+) create mode 100644 exported/.gitignore create mode 100644 pm_files/.gitignore diff --git a/README.md b/README.md index f03666f..4d1376a 100644 --- a/README.md +++ b/README.md @@ -22,3 +22,46 @@ Tested on Virtual EPG 2. * Perl 5.8 #### Usage + +``` +EPG PM Log Reader - Version 0.4.2 +Copyright © 2019 - Pablo Meniño + +Usage: ./epg_pm_log_reader.pl [options] + +options: + --print_help - Print this help + --print_version - Print version info + --pm_directory=/path/to/pm/ - Where the PM Log files are + --get_pgw_apn_gx - Export PGW APN Gx Statistic + --get_pgw_apn_radius - Export PGW APN Radius Statistic + + --gx_filter_apn_list=apnlist - Filter Gx Statistics by APN + - Example: + - --gx_filter_apn_list=apn1.domain.com,apn2.domain.com + - --gx_filter_apn_list=apn1.domain.com + - If no apn list provided, all data is exported + + --gx_filter_pcrf_list=pcrflist - Filter Gx Statistics by PCRF + - Example: + - --gx_filter_pcrf_list=GX_DAS,GX_SAPC + - --gx_filter_pcrf_list=GX_DAS + - If no PCRF list provided, all data is exported + + --radius_filter_apn_list=apnlist - Filter Radius Statistics by APN + - Example: + - --radius_filter_apn_list=apn1.domain.com,apn2.domain.com + - --radius_filter_apn_list=apn1.domain.com + - If no apn list provided, all data is exported + + --radius_filter_server_list=serverlist - Filter Radius Statistics by Server + - Example: + - --radius_filter_server_list=192.168.0.1,192.168.1.100 + - --radius_filter_server_list=192.168.0.200 + - If no server list provided, all data is exported + + --report_title=title_name - Prepend text to all report files + --verbose_mode - Enable detailed output mode for troubleshooting. + +Note: By default the imput directory to find PM Log files are: ./pm_files/ and exported files: ./exported/ +``` \ No newline at end of file diff --git a/exported/.gitignore b/exported/.gitignore new file mode 100644 index 0000000..c96a04f --- /dev/null +++ b/exported/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore \ No newline at end of file diff --git a/pm_files/.gitignore b/pm_files/.gitignore new file mode 100644 index 0000000..c96a04f --- /dev/null +++ b/pm_files/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore \ No newline at end of file