<?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 my Base Search cutting off Fields in the Dashboard view? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Base-Search-cutting-off-Fields-in-the-Dashboard-view/m-p/360881#M106659</link>
    <description>&lt;P&gt;Yes its in the original post, the base search is defined on line 4 and I'm trying to pass the results to line 15 and line 27. When looking at the results in the dashboard, it's only giving the the &lt;CODE&gt;eval&lt;/CODE&gt; field. But when I open it up in search, I'm getting all the expected fields. It looks like my fields are getting cut off in the dashboard view&lt;/P&gt;</description>
    <pubDate>Mon, 13 Nov 2017 20:08:21 GMT</pubDate>
    <dc:creator>skoelpin</dc:creator>
    <dc:date>2017-11-13T20:08:21Z</dc:date>
    <item>
      <title>Why is my Base Search cutting off Fields in the Dashboard view?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Base-Search-cutting-off-Fields-in-the-Dashboard-view/m-p/360876#M106654</link>
      <description>&lt;P&gt;I made a dashboard with a single base search passing the results to downstream panels. When I make my panels dependent on the base search, all my fields are cutoff in the dashboard view. But when I click the search button and open it up, everything is working as expected. Also, if I remove the base search from my dashboard and make each panel an independent in-line search, it will work correctly. I've tried explicitly calling the fields at the end of my search &lt;CODE&gt;| fields + &amp;lt;field1&amp;gt; &amp;lt;field2&amp;gt;&lt;/CODE&gt; with no luck. Can anyone point me in the right direction? &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Here's some of the XML&lt;/STRONG&gt; &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;single depends="$nothing$"&amp;gt;
        &amp;lt;search id="BASE"&amp;gt;
          &amp;lt;query&amp;gt;index=xxxxxxx (source="xxxxxx") &amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$TimePicker.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$TimePicker.latest$&amp;lt;/latest&amp;gt;
          &amp;lt;refresh&amp;gt;100m&amp;lt;/refresh&amp;gt;
          &amp;lt;refreshType&amp;gt;delay&amp;lt;/refreshType&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;/single&amp;gt;
      &amp;lt;viz depends="$panel1$" type="Splunk_ML_Toolkit.LinesViz"&amp;gt;
        &amp;lt;title&amp;gt;Aggregate Customer Traffic&amp;lt;/title&amp;gt;
        &amp;lt;search base="BASE"&amp;gt;
          &amp;lt;query&amp;gt;
| timechart  cont=false limit=0 span=10m   max("Actual:All") AS "Actual:All"
max("high:All") AS "high:All" min("low:All") AS "low:All" min("pred:All") AS "pred:All"
| eval IsActualNull=if(_time&amp;lt;relative_time(now(),"-10m") AND isnull('Actual:All') ,1000,0)
&amp;lt;/query&amp;gt;

        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;/viz&amp;gt;
      &amp;lt;viz depends="$panel2$" type="Splunk_ML_Toolkit.LinesViz"&amp;gt;
        &amp;lt;search base="BASE"&amp;gt;
          &amp;lt;query&amp;gt;
| timechart  cont=false limit=0 span=10m max("Actual:$cust_name$") AS "Actual:$cust_name$"  max("high: $cust_name$") AS "high: $cust_name$" min("low: $cust_name$") AS "low: $cust_name$" min("pred: $cust_name$") AS "pred: $cust_name$"
| makecontinuous _time&amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.scales.shared"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.size"&amp;gt;medium&amp;lt;/option&amp;gt;
      &amp;lt;/viz&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Nov 2017 19:10:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Base-Search-cutting-off-Fields-in-the-Dashboard-view/m-p/360876#M106654</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-11-13T19:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my Base Search cutting off Fields in the Dashboard view?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Base-Search-cutting-off-Fields-in-the-Dashboard-view/m-p/360877#M106655</link>
      <description>&lt;P&gt;Dashboard searches don't run in verbose mode, so your base search should include &lt;CODE&gt;| fields &amp;lt;field1&amp;gt; &amp;lt;field2&amp;gt; ... &amp;lt;fieldN&amp;gt;&lt;/CODE&gt; to define which fields will be needed by your post-process searches.&lt;/P&gt;

&lt;P&gt;Edit for clarity: &lt;CODE&gt;fields ...&lt;/CODE&gt; needs to be a part of the base search.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 19:55:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Base-Search-cutting-off-Fields-in-the-Dashboard-view/m-p/360877#M106655</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2017-11-13T19:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my Base Search cutting off Fields in the Dashboard view?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Base-Search-cutting-off-Fields-in-the-Dashboard-view/m-p/360878#M106656</link>
      <description>&lt;P&gt;Yeah, I mentioned trying that in my original question with no luck. Perhaps I'm putting it in the wrong spot? &lt;/P&gt;

&lt;P&gt;It should look like this right?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;search base="BASE"&amp;gt;
           &amp;lt;query&amp;gt;
 | timechart  cont=false limit=0 span=10m max("Actual:$cust_name$") AS "Actual:$cust_name$"  max("high: $cust_name$") AS "high: $cust_name$" min("low: $cust_name$") AS "low: $cust_name$" min("pred: $cust_name$") AS "pred: $cust_name$"
 | makecontinuous _time 
 | fields + "Actual:$cust_name$" "high: $cust_name$"  "low: $cust_name$" "pred: $cust_name$"&amp;lt;/query&amp;gt;
         &amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Nov 2017 20:01:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Base-Search-cutting-off-Fields-in-the-Dashboard-view/m-p/360878#M106656</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-11-13T20:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my Base Search cutting off Fields in the Dashboard view?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Base-Search-cutting-off-Fields-in-the-Dashboard-view/m-p/360879#M106657</link>
      <description>&lt;P&gt;Can you please provide the dashboard XML including the base search that does not work?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 20:05:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Base-Search-cutting-off-Fields-in-the-Dashboard-view/m-p/360879#M106657</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-11-13T20:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my Base Search cutting off Fields in the Dashboard view?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Base-Search-cutting-off-Fields-in-the-Dashboard-view/m-p/360880#M106658</link>
      <description>&lt;P&gt;@skoelpin, post processing ideally should have transforming command in the base search. You seem to be trying to pass on raw data.&lt;/P&gt;

&lt;P&gt;How many events your base search can have for the default time range that you have?&lt;/P&gt;

&lt;P&gt;Also when you choose shorter time window and pipe in &lt;CODE&gt;| field *&lt;/CODE&gt; to your base search are you able to see results or not?&lt;/P&gt;

&lt;P&gt;You seem to have only two timecharts in the dashboard. Can you have the timechart command in the base search with all the fields and then in your post process panels use only the fields that you need as per the panel?&lt;/P&gt;

&lt;P&gt;Refer to following documentation for Post Processing Best Practices:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/Savedsearches#Best_practices"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Viz/Savedsearches#Best_practices&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 20:05:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Base-Search-cutting-off-Fields-in-the-Dashboard-view/m-p/360880#M106658</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-11-13T20:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my Base Search cutting off Fields in the Dashboard view?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Base-Search-cutting-off-Fields-in-the-Dashboard-view/m-p/360881#M106659</link>
      <description>&lt;P&gt;Yes its in the original post, the base search is defined on line 4 and I'm trying to pass the results to line 15 and line 27. When looking at the results in the dashboard, it's only giving the the &lt;CODE&gt;eval&lt;/CODE&gt; field. But when I open it up in search, I'm getting all the expected fields. It looks like my fields are getting cut off in the dashboard view&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 20:08:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Base-Search-cutting-off-Fields-in-the-Dashboard-view/m-p/360881#M106659</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-11-13T20:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my Base Search cutting off Fields in the Dashboard view?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Base-Search-cutting-off-Fields-in-the-Dashboard-view/m-p/360882#M106660</link>
      <description>&lt;P&gt;&lt;CODE&gt;| fields&lt;/CODE&gt; needs to go in the base search, not the post-process search (which is where you have it above).'&lt;/P&gt;

&lt;P&gt;Apologies for not seeing your comment about trying the &lt;CODE&gt;fields&lt;/CODE&gt; method already.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 20:09:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Base-Search-cutting-off-Fields-in-the-Dashboard-view/m-p/360882#M106660</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2017-11-13T20:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my Base Search cutting off Fields in the Dashboard view?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Base-Search-cutting-off-Fields-in-the-Dashboard-view/m-p/360883#M106661</link>
      <description>&lt;P&gt;No luck with adding &lt;CODE&gt;fields *&lt;/CODE&gt;. I've used a similar base search before with no transformational command and it worked so I'm a little stumped why it won't work now. My issue with adding the &lt;CODE&gt;timechart&lt;/CODE&gt; to the base search is that I have 2 separate panels that have different values getting passed in timechart. &lt;/P&gt;

&lt;P&gt;Would it be particle to take the two panels below and combine them into a single search and just exclude what's not needed? Example below &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| timechart  cont=false limit=0 span=10m   max("Actual:All") AS "Actual:All"
 max("high:All") AS "high:All" min("low:All") AS "low:All" min("pred:All") AS "pred:All"

| timechart  cont=false limit=0 span=10m max("Actual:$cust_name$") AS "Actual:$cust_name$"  max("high: $cust_name$") AS "high: $cust_name$" min("low: $cust_name$") AS "low: $cust_name$" min("pred: $cust_name$") AS "pred: $cust_name$"


| timechart  cont=false limit=0 span=10m   max("Actual:All") AS "Actual:All"
 max("high:All") AS "high:All" min("low:All") AS "low:All" min("pred:All") AS "pred:All" max("Actual:$cust_name$") AS "Actual:$cust_name$"  max("high: $cust_name$") AS "high: $cust_name$" min("low: $cust_name$") AS "low: $cust_name$" min("pred: $cust_name$") AS "pred: $cust_name$"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Nov 2017 20:17:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Base-Search-cutting-off-Fields-in-the-Dashboard-view/m-p/360883#M106661</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-11-13T20:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my Base Search cutting off Fields in the Dashboard view?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Base-Search-cutting-off-Fields-in-the-Dashboard-view/m-p/360884#M106662</link>
      <description>&lt;P&gt;This solved my problem!! Thank you!!! &lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 20:22:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-Base-Search-cutting-off-Fields-in-the-Dashboard-view/m-p/360884#M106662</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-11-13T20:22:33Z</dc:date>
    </item>
  </channel>
</rss>

