<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Searching msexchange logs in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Searching-msexchange-logs/m-p/499159#M139042</link>
    <description>&lt;P&gt;what's session field?&lt;/P&gt;</description>
    <pubDate>Mon, 23 Mar 2020 20:56:52 GMT</pubDate>
    <dc:creator>to4kawa</dc:creator>
    <dc:date>2020-03-23T20:56:52Z</dc:date>
    <item>
      <title>Searching msexchange logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-msexchange-logs/m-p/499158#M139041</link>
      <description>&lt;P&gt;is there any splunk query to search for send, recipient and subject in msexchange email logs? I know there is msexchange app but could it be done via simple query, regex? thanks for your help &lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 17:57:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-msexchange-logs/m-p/499158#M139041</guid>
      <dc:creator>wfarooq124</dc:creator>
      <dc:date>2020-03-23T17:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Searching msexchange logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-msexchange-logs/m-p/499159#M139042</link>
      <description>&lt;P&gt;what's session field?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 20:56:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-msexchange-logs/m-p/499159#M139042</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-03-23T20:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Searching msexchange logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-msexchange-logs/m-p/499160#M139043</link>
      <description>&lt;P&gt;@to4kawa thanks for your response I am looking for email sender, recipient and subject fields&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 21:01:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-msexchange-logs/m-p/499160#M139043</guid>
      <dc:creator>wfarooq124</dc:creator>
      <dc:date>2020-03-23T21:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Searching msexchange logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-msexchange-logs/m-p/499161#M139044</link>
      <description>&lt;P&gt;what's the results of searching &lt;CODE&gt;sender@domain OR subject OR recipient@domain&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 21:38:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-msexchange-logs/m-p/499161#M139044</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-03-23T21:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Searching msexchange logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-msexchange-logs/m-p/499162#M139045</link>
      <description>&lt;P&gt;@to4kawa this is regarding sourcetype=MSExchange:2013:MessageTracking so basically using it to parse send receive and subject&lt;/P&gt;</description>
      <pubDate>Sat, 28 Mar 2020 11:54:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-msexchange-logs/m-p/499162#M139045</guid>
      <dc:creator>wfarooq124</dc:creator>
      <dc:date>2020-03-28T11:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Searching msexchange logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-msexchange-logs/m-p/499163#M139046</link>
      <description>&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/3225/"&gt;https://splunkbase.splunk.com/app/3225/&lt;/A&gt;&lt;BR /&gt;
use add-on. &lt;/P&gt;</description>
      <pubDate>Sat, 28 Mar 2020 21:51:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-msexchange-logs/m-p/499163#M139046</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-03-28T21:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Searching msexchange logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-msexchange-logs/m-p/499164#M139047</link>
      <description>&lt;P&gt;You will want to group all your logs by "internal_message_id" or "MID" to do so, you can use the "transaction" command :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; Index=email sourcetype=msexchange | transaction MID 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;As you'll see transaction is quiet slow, I'll recommand using a groupby instead, It should look something like this : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Index=email sourcetype=msexchange  | stats values(recipient) AS recipient, values(sender) AS sender, values(subject) AS subject by MID
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;3no&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:47:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-msexchange-logs/m-p/499164#M139047</guid>
      <dc:creator>3no</dc:creator>
      <dc:date>2020-09-30T04:47:15Z</dc:date>
    </item>
  </channel>
</rss>

