def prompt_messages():
    """
    Prompt the user for opening messages and
    :return: the workspace id of the user if he wants to change the timestamp
    """
    ws_id = 0
    if check_logs_timestamp():
        input_message = "would you like to change the log timestamp from log collection time to log creation time?" \
                        "\nEnter Yes/No\n"
        print_notice("We have recognized your logs timestamp is set to: Log collection time\n")
    else:
        input_message = "would you like to change the log timestamp from log creation time to log collection time?" \
                        "\nEnter Yes/No\n"
        print_notice("We have recognized your logs timestamp is set to: Log creation time\n")
    # to be compatible with both python 2.7 and python 3
    try:
        response = raw_input(input_message)
        if response not in yes_response:
            sys.exit()
    except NameError:
        response = input(input_message)
        if response not in yes_response:
            sys.exit()
    return

    Prompt the user for opening messages and
    :return: the workspace id of the user if he wants to change the timestamp
    
DataConnectors/CEF/TimeGenerated.py