<?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: subsearch for sendmail logs in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/subsearch-for-sendmail-logs/m-p/153692#M43151</link>
    <description>&lt;P&gt;Thanks, please mark this as answered by ticking the tick &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 06 May 2014 15:52:58 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2014-05-06T15:52:58Z</dc:date>
    <item>
      <title>subsearch for sendmail logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/subsearch-for-sendmail-logs/m-p/153689#M43148</link>
      <description>&lt;P&gt;Do you see anything wrong with this search? The subsearch returns results, however combined with the out search no results are returned. What am I missing?&lt;/P&gt;

&lt;P&gt;index=sendmail qid=* [search eventtype=smimta_to to="&lt;A href="mailto:user@host.com"&gt;user@host.com&lt;/A&gt;" | fields qid] | transaction &lt;BR /&gt;
 qid | table _time host qid from to subject&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2014 13:34:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/subsearch-for-sendmail-logs/m-p/153689#M43148</guid>
      <dc:creator>splunkranger</dc:creator>
      <dc:date>2014-05-06T13:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: subsearch for sendmail logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/subsearch-for-sendmail-logs/m-p/153690#M43149</link>
      <description>&lt;P&gt;Hi splunkranger,&lt;/P&gt;

&lt;P&gt;your subsearch returns the &lt;CODE&gt;qid&lt;/CODE&gt; field to the main search, but your subsearch does not have any index defined therefore my question are those needed fields all in the same index?&lt;/P&gt;

&lt;P&gt;if so, you could do something like this and avoid a subsearch:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=sendmail qid=* eventtype=smimta_to to="user@host.com" | ... 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2014 13:54:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/subsearch-for-sendmail-logs/m-p/153690#M43149</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-05-06T13:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: subsearch for sendmail logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/subsearch-for-sendmail-logs/m-p/153691#M43150</link>
      <description>&lt;P&gt;Perfect! Thank you. Adding the `index=' to the sub search works.&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2014 14:16:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/subsearch-for-sendmail-logs/m-p/153691#M43150</guid>
      <dc:creator>splunkranger</dc:creator>
      <dc:date>2014-05-06T14:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: subsearch for sendmail logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/subsearch-for-sendmail-logs/m-p/153692#M43151</link>
      <description>&lt;P&gt;Thanks, please mark this as answered by ticking the tick &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2014 15:52:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/subsearch-for-sendmail-logs/m-p/153692#M43151</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-05-06T15:52:58Z</dc:date>
    </item>
  </channel>
</rss>

