<?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: How to use time picker to display the data in this query with appendcols? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-picker-to-display-the-data-in-this-query-with/m-p/481852#M135028</link>
    <description>&lt;P&gt;Ok its incorrect because monster window services has 0 results&lt;/P&gt;</description>
    <pubDate>Wed, 18 Sep 2019 07:08:44 GMT</pubDate>
    <dc:creator>lsy9891</dc:creator>
    <dc:date>2019-09-18T07:08:44Z</dc:date>
    <item>
      <title>How to use time picker to display the data in this query with appendcols?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-picker-to-display-the-data-in-this-query-with/m-p/481849#M135025</link>
      <description>&lt;P&gt;Hi, I have this query:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host="NETAPPA*" sourcetype="WinEventLog:Application" AND AppDomainName= "EcomSubscription.*"AND "ErrorGUID" | timechart span=1h count AS "EcomSubscription" | appendcols [search host=NETAPPA* sourcetype="WinEventLog:Application" AND LogName="Application" AND ExceptionManager_AppDomainName= "Monster.Services.Windows.ServiceBase.exe" | timechart span=1h count AS "MonsterWindowServices" ]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I changed the setting of the shared time picker to last 24 hours and the chart just returns null but when I changed the setting to last 7 days there are results. But from the 7-day results it shows that 'Monster window services' is not null for the last 24 hours. Is it because of the appendcols?&lt;/P&gt;

&lt;P&gt;EDIT:I realized when ecomsubsription is null monster window services does not display as well eventhough it is not null? Is there a way to avoid appendcols altogether?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 02:19:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-picker-to-display-the-data-in-this-query-with/m-p/481849#M135025</guid>
      <dc:creator>lsy9891</dc:creator>
      <dc:date>2019-09-17T02:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to use time picker to display the data in this query with appendcols?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-picker-to-display-the-data-in-this-query-with/m-p/481850#M135026</link>
      <description>&lt;P&gt;not sure why &lt;CODE&gt;appending&lt;/CODE&gt;, seems like you are almost searching for the same things, and now all it needed is to sort the counts over time by the "unique search stings"&lt;/P&gt;

&lt;P&gt;try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index = &amp;lt;YOUR INDEX HERE&amp;gt; host="NETAPPA*" sourcetype="WinEventLog:Application" AppDomainName= "EcomSubscription.*" "ErrorGUID") OR  (index = &amp;lt;YOUR INDEX HERE&amp;gt; host="NETAPPA*" sourcetype="WinEventLog:Application" LogName="Application" AND ExceptionManager_AppDomainName="Monster.Services.Windows.ServiceBase.exe") 
| timechart span=1h count(eval(AppDomainName="Monster.Services.Windows.ServiceBase.exe")) as "MonsterWindowServices" count(eval(like(AppDomainName, "EcomSubscription.%"))) as "EcomSubscription"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;note: i think there are more consolidation options there, as your search might be "glued" at: &lt;CODE&gt;ExceptionManager_AppDomainName&lt;/CODE&gt; but i wasnt sure &lt;/P&gt;

&lt;P&gt;hope it helps&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 02:50:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-picker-to-display-the-data-in-this-query-with/m-p/481850#M135026</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-09-17T02:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to use time picker to display the data in this query with appendcols?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-picker-to-display-the-data-in-this-query-with/m-p/481851#M135027</link>
      <description>&lt;P&gt;Hi I tried the query but it returns 0 results&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 07:06:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-picker-to-display-the-data-in-this-query-with/m-p/481851#M135027</guid>
      <dc:creator>lsy9891</dc:creator>
      <dc:date>2019-09-18T07:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to use time picker to display the data in this query with appendcols?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-picker-to-display-the-data-in-this-query-with/m-p/481852#M135028</link>
      <description>&lt;P&gt;Ok its incorrect because monster window services has 0 results&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 07:08:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-picker-to-display-the-data-in-this-query-with/m-p/481852#M135028</guid>
      <dc:creator>lsy9891</dc:creator>
      <dc:date>2019-09-18T07:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to use time picker to display the data in this query with appendcols?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-picker-to-display-the-data-in-this-query-with/m-p/481853#M135029</link>
      <description>&lt;P&gt;@lsy9891 not sure i understand,&lt;BR /&gt;
if it works for you, kindly mark the question as answered, so others will know.&lt;BR /&gt;
if it doesnt, please elaborate on what isnt working for you&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 09:32:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-time-picker-to-display-the-data-in-this-query-with/m-p/481853#M135029</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-09-18T09:32:29Z</dc:date>
    </item>
  </channel>
</rss>

