<?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: Base search not returning results in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Base-search-not-returning-results/m-p/742439#M240843</link>
    <description>&lt;P&gt;I copied your dashboard into my test instance and modified the base search to find events, and it worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a test, could you try saving your full search as a dashboard panel for a new dashboard, then editing the source of that new dashboard to move the first half of the search into a base query?&lt;/P&gt;</description>
    <pubDate>Fri, 21 Mar 2025 18:42:35 GMT</pubDate>
    <dc:creator>marnall</dc:creator>
    <dc:date>2025-03-21T18:42:35Z</dc:date>
    <item>
      <title>Base search not returning results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Base-search-not-returning-results/m-p/742438#M240842</link>
      <description>&lt;P&gt;Hello folks,&lt;/P&gt;&lt;P&gt;I trying to use a base search within a dashboard but it consistently returns no results. However, when I click Open in Search the results appear as expected. Any of you fine people have any suggestions?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard version="1.1" theme="dark"&amp;gt;
  &amp;lt;search id="recycle"&amp;gt;
    &amp;lt;query&amp;gt; index=o365_sharepoint AND (Operation=FileRecycled OR Operation=FolderRecycled OR Operation=FileVersionsAllDeleted) &amp;lt;/query&amp;gt;
    &amp;lt;earliest&amp;gt;-7d@h&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;label&amp;gt;Test Dashboard&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Abnormal File Deletion and Recycle Patterns&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search base="recycle"&amp;gt;
          &amp;lt;query&amp;gt; | stats count as "Object Deletions" BY UserId | search "Object Deletions" &amp;amp;gt; 50 | sort - "Object Deletions" &amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 18:13:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Base-search-not-returning-results/m-p/742438#M240842</guid>
      <dc:creator>b17gunnr</dc:creator>
      <dc:date>2025-03-21T18:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Base search not returning results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Base-search-not-returning-results/m-p/742439#M240843</link>
      <description>&lt;P&gt;I copied your dashboard into my test instance and modified the base search to find events, and it worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a test, could you try saving your full search as a dashboard panel for a new dashboard, then editing the source of that new dashboard to move the first half of the search into a base query?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 18:42:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Base-search-not-returning-results/m-p/742439#M240843</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2025-03-21T18:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Base search not returning results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Base-search-not-returning-results/m-p/742441#M240844</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;That's actually where I started this. I took a functioning panel with the full query and then ripped out the primary section for the base search. I also tried creating a new dashboard from scratch and get the same empty results. The only thing I can do to so something displays is to comment out all of&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;lt;query&amp;gt; | stats count as "Object Deletions" BY UserId | search "Object Deletions" &amp;amp;gt; 50 | sort - "Object Deletions" &amp;lt;/query&lt;/EM&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;If I leave any part of that code in, it fails.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 19:05:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Base-search-not-returning-results/m-p/742441#M240844</guid>
      <dc:creator>b17gunnr</dc:creator>
      <dc:date>2025-03-21T19:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Base search not returning results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Base-search-not-returning-results/m-p/742442#M240845</link>
      <description>&lt;P&gt;Does it work if you use any other command in the query? E.g. just "| stats count"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also what version of Splunk are you using, out of curiosity?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 19:14:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Base-search-not-returning-results/m-p/742442#M240845</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2025-03-21T19:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Base search not returning results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Base-search-not-returning-results/m-p/742443#M240846</link>
      <description>&lt;P&gt;I was able to replicate your problem - looks like if you use a table or fields command with the fields you need underneath the index search you can get results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  &amp;lt;search id="recycle"&amp;gt;
    &amp;lt;query&amp;gt; 
 index=o365_sharepoint AND (Operation=FileRecycled OR Operation=FolderRecycled OR Operation=FileVersionsAllDeleted)
| fields UserId Whateverotherfields
    &amp;lt;/query&amp;gt;
    &amp;lt;earliest&amp;gt;-7d@h&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
  &amp;lt;/search&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 20:20:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Base-search-not-returning-results/m-p/742443#M240846</guid>
      <dc:creator>catdadof3</dc:creator>
      <dc:date>2025-03-21T20:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Base search not returning results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Base-search-not-returning-results/m-p/742444#M240847</link>
      <description>&lt;P&gt;Generally, the base search should be a transforming search and it shouldn't be too big. But if it's a normal event search, you should explicitly list fields you'll be using later (as &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/251952"&gt;@catdadof3&lt;/a&gt;&amp;nbsp;pointed out - with fields or table command).&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 20:30:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Base-search-not-returning-results/m-p/742444#M240847</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-03-21T20:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Base search not returning results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Base-search-not-returning-results/m-p/742446#M240848</link>
      <description>&lt;P&gt;Making this adjustment was just what I needed. I noticed that as I started playing with fields I could change the results, but I was focusing on the secondary query as opposed to the base query. Thank you all for the help and advice.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 22:17:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Base-search-not-returning-results/m-p/742446#M240848</guid>
      <dc:creator>b17gunnr</dc:creator>
      <dc:date>2025-03-21T22:17:57Z</dc:date>
    </item>
  </channel>
</rss>

