<?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: Why is the top command not working when searching in two indexes? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-top-command-not-working-when-searching-in-two-indexes/m-p/275528#M83110</link>
    <description>&lt;P&gt;use double quote when   for sourcetype=intel:dlp  ----   sourcetype="intel:dlp"&lt;/P&gt;</description>
    <pubDate>Fri, 09 Dec 2016 03:50:58 GMT</pubDate>
    <dc:creator>puneethgowda</dc:creator>
    <dc:date>2016-12-09T03:50:58Z</dc:date>
    <item>
      <title>Why is the top command not working when searching in two indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-top-command-not-working-when-searching-in-two-indexes/m-p/275526#M83108</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;

&lt;P&gt;For some reason, the search below isn't working for me...  I am trying to search for the Top 25 Business Units that have triggered a DLP incident and sort it by those incidents...  Unsure if it's the lack of caffeine, but I was under the impression this would work...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index=dlp OR index=msad) (sourcetype=intel:dlp OR sourcetype=ActiveDirectory)  IncidentType="*" department="*" 
| Top 25 department
| sort by IncidentType
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Greatly appreciate your inputs.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 00:41:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-top-command-not-working-when-searching-in-two-indexes/m-p/275526#M83108</guid>
      <dc:creator>lmedina</dc:creator>
      <dc:date>2016-12-09T00:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the top command not working when searching in two indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-top-command-not-working-when-searching-in-two-indexes/m-p/275527#M83109</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index=dlp OR index=msad) (sourcetype=intel:dlp OR sourcetype=ActiveDirectory) IncidentType="" department="" | top 25 department by IncidentType | sort by IncidentType
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Dec 2016 03:46:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-top-command-not-working-when-searching-in-two-indexes/m-p/275527#M83109</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-12-09T03:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the top command not working when searching in two indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-top-command-not-working-when-searching-in-two-indexes/m-p/275528#M83110</link>
      <description>&lt;P&gt;use double quote when   for sourcetype=intel:dlp  ----   sourcetype="intel:dlp"&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 03:50:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-top-command-not-working-when-searching-in-two-indexes/m-p/275528#M83110</guid>
      <dc:creator>puneethgowda</dc:creator>
      <dc:date>2016-12-09T03:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the top command not working when searching in two indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-top-command-not-working-when-searching-in-two-indexes/m-p/275529#M83111</link>
      <description>&lt;P&gt;Thank you sundareshr - but still no data...  I've been trying other constants but no results.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 05:26:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-top-command-not-working-when-searching-in-two-indexes/m-p/275529#M83111</guid>
      <dc:creator>lmedina</dc:creator>
      <dc:date>2016-12-09T05:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the top command not working when searching in two indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-top-command-not-working-when-searching-in-two-indexes/m-p/275530#M83112</link>
      <description>&lt;P&gt;Thank you puneethgowda - but still no data...  I've been trying other constants but no results.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 05:26:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-top-command-not-working-when-searching-in-two-indexes/m-p/275530#M83112</guid>
      <dc:creator>lmedina</dc:creator>
      <dc:date>2016-12-09T05:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the top command not working when searching in two indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-top-command-not-working-when-searching-in-two-indexes/m-p/275531#M83113</link>
      <description>&lt;P&gt;index=dlp sourcetype=intel:dlp OR index=msad sourcetype=ActiveDirectory &lt;/P&gt;

&lt;P&gt;Try this&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 05:29:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-top-command-not-working-when-searching-in-two-indexes/m-p/275531#M83113</guid>
      <dc:creator>puneethgowda</dc:creator>
      <dc:date>2016-12-09T05:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the top command not working when searching in two indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-top-command-not-working-when-searching-in-two-indexes/m-p/275532#M83114</link>
      <description>&lt;P&gt;index="dlp" sourcetype="intel:dlp" OR index="msad" sourcetype="ActiveDirectory"&lt;/P&gt;

&lt;P&gt;add double quote&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 05:30:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-top-command-not-working-when-searching-in-two-indexes/m-p/275532#M83114</guid>
      <dc:creator>puneethgowda</dc:creator>
      <dc:date>2016-12-09T05:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the top command not working when searching in two indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-the-top-command-not-working-when-searching-in-two-indexes/m-p/275533#M83115</link>
      <description>&lt;P&gt;Nope...&lt;/P&gt;

&lt;P&gt;This is when the data comes...&lt;/P&gt;

&lt;P&gt;(index=dlp OR index=msad) (sourcetype=intel:dlp OR sourcetype=ActiveDirectory)&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 05:48:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-the-top-command-not-working-when-searching-in-two-indexes/m-p/275533#M83115</guid>
      <dc:creator>lmedina</dc:creator>
      <dc:date>2016-12-09T05:48:25Z</dc:date>
    </item>
  </channel>
</rss>

