index=_audit will give you most of the information and here 2 examples:
splunk failed access:
index=_audit "action=login attempt" NOT "action=search" "info=failed"
splunk successful access:
index=_audit "action=login attempt" NOT "action=search" "info=succeeded"