def getargs():
    """
    Get execution args using argparse lib
    """
    global STREAM_SCENARIO
    parser = argparse.ArgumentParser()
    parser.add_argument('collect', nargs='?',
                        help='runs the script in collect mode. Useful in case you want to open a ticket.')
    parser.add_argument('--CEF', '--cef', action='store_true', default=False,
                        help='run the troubleshooting script for the CEF scenario.')
    parser.add_argument('--ASA', '--asa', action='store_true', default=False,
                        help='run the troubleshooting script for the Cisco ASA scenario.')
    parser.add_argument('--FTD', '--ftd', action='store_true', default=False,
                        help='run the troubleshooting script for the Cisco FTD scenario.')
    parser.add_argument('--SYSLOG', '--syslog', action='store_true', default=False,
                        help='run the troubleshooting script for the Syslog scenario.')
    args = parser.parse_args()
    if args.ASA:
        STREAM_SCENARIO = "asa"
    elif args.FTD:
        STREAM_SCENARIO = "ftd"
    elif args.SYSLOG:
        STREAM_SCENARIO = "syslog"
    else:
        STREAM_SCENARIO = "cef"
    return args

    Get execution args using argparse lib
    
DataConnectors/Syslog/Sentinel_AMA_troubleshoot.py