def METHOD_NAME(self):
    """
    login metricset collects information about logins (successful and failed) and system restarts.
    """
    fields = ["event.origin", "event.outcome", "message", "process.pid", "source.ip",
              "user.name", "user.terminal"]
    config = {
        "login.wtmp_file_pattern": os.path.abspath(os.path.join(self.beat_path, "module/system/login/testdata/wtmp*")),
        "login.btmp_file_pattern": os.path.abspath(os.path.join(self.beat_path, "module/system/login/testdata/btmp*")),
    }
    # Metricset is beta and that generates a warning, TODO: remove later
    self.check_metricset("system", "login", COMMON_FIELDS + fields, config, warnings_allowed=True)