bin/XEtemplates/Profiler Standard.xml

<event_sessions xmlns="http://schemas.microsoft.com/sqlserver/2008/07/extendedeventconfig">
  <event_session name="Profiler Standard" maxMemory="8" eventRetentionMode="allowSingleEventLoss" trackCausality="true" dispatchLatency="1" maxEventSize="0" memoryPartitionMode="perCpu">
    <templateCategory>
      <!-- _locID_text="templateCategory" _locComment = "" -->Profiler Equivalents</templateCategory>
    <templateName>
      <!-- _locID_text = "templateName" _locComment = "" -->Profiler Standard</templateName>
    <templateDescription>
      <!-- _locID_text = "templateDescription" _locComment = "" -->Matches the 'Standard' template in Profiler. Generic starting point for creating a trace. Captures all stored procedures and Transact-SQL batches that are run. Use to monitor general database server activity.</templateDescription>
    <event package="sqlserver" name="login">
      <action package="package0" name="event_sequence" />
      <action package="sqlserver" name="client_app_name" />
      <action package="sqlserver" name="client_pid" />
      <action package="sqlserver" name="nt_username" />
      <action package="sqlserver" name="server_principal_name" />
      <action package="sqlserver" name="session_id" />
      <parameter name="collect_options_text" value="1" />
    </event>
    <event package="sqlserver" name="logout">
      <action package="package0" name="event_sequence" />
      <action package="sqlserver" name="client_app_name" />
      <action package="sqlserver" name="client_pid" />
      <action package="sqlserver" name="nt_username" />
      <action package="sqlserver" name="server_principal_name" />
      <action package="sqlserver" name="session_id" />
    </event>
    <event package="sqlserver" name="existing_connection">
      <action package="package0" name="event_sequence" />
      <action package="sqlserver" name="client_app_name" />
      <action package="sqlserver" name="client_pid" />
      <action package="sqlserver" name="nt_username" />
      <action package="sqlserver" name="server_principal_name" />
      <action package="sqlserver" name="session_id" />
      <parameter name="collect_options_text" value="1" />
    </event>
    <event package="sqlserver" name="rpc_completed">
      <action package="package0" name="event_sequence" />
      <action package="sqlserver" name="client_app_name" />
      <action package="sqlserver" name="client_pid" />
      <action package="sqlserver" name="database_id" />
      <action package="sqlserver" name="nt_username" />
      <action package="sqlserver" name="query_hash" />
      <action package="sqlserver" name="server_principal_name" />
      <action package="sqlserver" name="session_id" />
      <predicate>
        <leaf>
          <comparator name="equal_boolean" package="package0"></comparator>
          <global name="is_system" package="sqlserver"></global>
          <value>false</value>
        </leaf>
      </predicate>
    </event>
    <event package="sqlserver" name="sql_batch_completed">
      <action package="package0" name="event_sequence" />
      <action package="sqlserver" name="client_app_name" />
      <action package="sqlserver" name="client_pid" />
      <action package="sqlserver" name="database_id" />
      <action package="sqlserver" name="nt_username" />
      <action package="sqlserver" name="query_hash" />
      <action package="sqlserver" name="server_principal_name" />
      <action package="sqlserver" name="session_id" />
      <predicate>
        <leaf>
          <comparator name="equal_boolean" package="package0"></comparator>
          <global name="is_system" package="sqlserver"></global>
          <value>false</value>
        </leaf>
      </predicate>
    </event>
    <event package="sqlserver" name="sql_batch_starting">
      <action package="package0" name="event_sequence" />
      <action package="sqlserver" name="client_app_name" />
      <action package="sqlserver" name="client_pid" />
      <action package="sqlserver" name="database_id" />
      <action package="sqlserver" name="nt_username" />
      <action package="sqlserver" name="query_hash" />
      <action package="sqlserver" name="server_principal_name" />
      <action package="sqlserver" name="session_id" />
      <predicate>
        <leaf>
          <comparator name="equal_boolean" package="package0"></comparator>
          <global name="is_system" package="sqlserver"></global>
          <value>false</value>
        </leaf>
      </predicate>
    </event>
    <event package="sqlserver" name="attention">
      <action package="package0" name="event_sequence" />
      <action package="sqlserver" name="client_app_name" />
      <action package="sqlserver" name="client_pid" />
      <action package="sqlserver" name="database_id" />
      <action package="sqlserver" name="nt_username" />
      <action package="sqlserver" name="query_hash" />
      <action package="sqlserver" name="server_principal_name" />
      <action package="sqlserver" name="session_id" />
      <predicate>
        <leaf>
          <comparator name="equal_boolean" package="package0"></comparator>
          <global name="is_system" package="sqlserver"></global>
          <value>false</value>
        </leaf>
      </predicate>
    </event>
  </event_session>
</event_sessions>