<?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: When I use timechart, I get a visual.  When I use chart, no results.  Any idea why? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342669#M101496</link>
    <description>&lt;P&gt;Now I am getting a chart, but the error message isnt showing.&lt;/P&gt;

&lt;P&gt;Here is a screenshot.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://imgur.com/a/NZTJC"&gt;https://imgur.com/a/NZTJC&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks again.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Sep 2017 15:16:17 GMT</pubDate>
    <dc:creator>zeroCalm</dc:creator>
    <dc:date>2017-09-19T15:16:17Z</dc:date>
    <item>
      <title>When I use timechart, I get a visual.  When I use chart, no results.  Any idea why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342662#M101489</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am using the following search:&lt;/P&gt;

&lt;P&gt;index="ips_snaplogic""postsales" lvl="ERROR"| spath| rex mode=sed "s/.*{/{/"&lt;BR /&gt;
  | spath output=msg path=Detail.error.message.message&lt;BR /&gt;
  | timechart count BY msg&lt;/P&gt;

&lt;P&gt;THis is the JSON I am trying to drill into, and grab the error message that I am trying to divide the chart by.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;//XXX/projects/Sales_PostSales_processPostSaleOrder_VIP_CCT:{  
   "Service":"Enterprise Sales",
   "Date":"09/19/2017 08:44:41.466",
   "Environment":"XXX",
   "Debug":"Error",
   "Source":"PostSalesIntegration",
   "Description":"Error::processPostSaleOrder_VIP_CCT. Error occurred while trying to process the message. Failed to execute HTTP request",
   "Message_Unique_Id":null,
   "Message_qualifier":null,
   "JMSMessageID":null,
   "Detail":{  
      "error":{  
         "message":"Failed to execute HTTP request",
         "reason":"Read timed out",
         "resolution":"Please check the Snap properties."
      }
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When I use timechart, I get a visual.  When I use chart, no results.  Any idea why?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 14:33:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342662#M101489</guid>
      <dc:creator>zeroCalm</dc:creator>
      <dc:date>2017-09-19T14:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: When I use timechart, I get a visual.  When I use chart, no results.  Any idea why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342663#M101490</link>
      <description>&lt;P&gt;Try this and see what happens...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="ips_snaplogic""postsales" lvl="ERROR"
| spath
| rex mode=sed "s/.*{/{/"
| spath output=msg path=Detail.error.message
| bin _time span=1h 
| chart count BY msg _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Updated to eliminate extra ".message"&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 14:36:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342663#M101490</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-09-19T14:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: When I use timechart, I get a visual.  When I use chart, no results.  Any idea why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342664#M101491</link>
      <description>&lt;P&gt;Hi zeroCalm,&lt;BR /&gt;
what options do you use in chart command ?&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 14:36:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342664#M101491</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-09-19T14:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: When I use timechart, I get a visual.  When I use chart, no results.  Any idea why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342665#M101492</link>
      <description>&lt;P&gt;Thanks for the response, I am having the same results though.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 14:42:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342665#M101492</guid>
      <dc:creator>zeroCalm</dc:creator>
      <dc:date>2017-09-19T14:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: When I use timechart, I get a visual.  When I use chart, no results.  Any idea why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342666#M101493</link>
      <description>&lt;P&gt;Options?   I don't believe I understand the question.  The original question shows my entire search string.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 14:43:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342666#M101493</guid>
      <dc:creator>zeroCalm</dc:creator>
      <dc:date>2017-09-19T14:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: When I use timechart, I get a visual.  When I use chart, no results.  Any idea why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342667#M101494</link>
      <description>&lt;P&gt;did you tried something like this using chart instead timechart?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="ips_snaplogic""postsales" lvl="ERROR"
| spath
| rex mode=sed "s/.*{/{/"
| spath output=msg path=Detail.error.message.message
| bin _time span=1h 
| chart count over _time BY msg
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 14:47:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342667#M101494</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-09-19T14:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: When I use timechart, I get a visual.  When I use chart, no results.  Any idea why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342668#M101495</link>
      <description>&lt;P&gt;What's your query with chart command? What is the expected visualization with chart command?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 15:07:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342668#M101495</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-09-19T15:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: When I use timechart, I get a visual.  When I use chart, no results.  Any idea why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342669#M101496</link>
      <description>&lt;P&gt;Now I am getting a chart, but the error message isnt showing.&lt;/P&gt;

&lt;P&gt;Here is a screenshot.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://imgur.com/a/NZTJC"&gt;https://imgur.com/a/NZTJC&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 15:16:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342669#M101496</guid>
      <dc:creator>zeroCalm</dc:creator>
      <dc:date>2017-09-19T15:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: When I use timechart, I get a visual.  When I use chart, no results.  Any idea why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342670#M101497</link>
      <description>&lt;P&gt;revie the message field extraction&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 15:18:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342670#M101497</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-09-19T15:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: When I use timechart, I get a visual.  When I use chart, no results.  Any idea why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342671#M101498</link>
      <description>&lt;P&gt;I have updated my original question.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 15:55:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342671#M101498</guid>
      <dc:creator>zeroCalm</dc:creator>
      <dc:date>2017-09-19T15:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: When I use timechart, I get a visual.  When I use chart, no results.  Any idea why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342672#M101499</link>
      <description>&lt;P&gt;@zerocalm - try again.  There was an extra &lt;CODE&gt;.message&lt;/CODE&gt; in the code, probably inserted somehow when you changed &lt;CODE&gt;timechart&lt;/CODE&gt; to &lt;CODE&gt;chart&lt;/CODE&gt;.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|makeresults 
| eval _raw="//XXX/projects/Sales_PostSales_processPostSaleOrder_VIP_CCT:{  
    \"Service\":\"Enterprise Sales\",
    \"Date\":\"09/19/2017 08:44:41.466\",
    \"Environment\":\"XXX\",
    \"Debug\":\"Error\",
    \"Source\":\"PostSalesIntegration\",
    \"Description\":\"Error::processPostSaleOrder_VIP_CCT. Error occurred while trying to process the message. Failed to execute HTTP request\",
    \"Message_Unique_Id\":null,
    \"Message_qualifier\":null,
    \"JMSMessageID\":null,
    \"Detail\":{  
       \"error\":{  
          \"message\":\"Failed to execute HTTP request\",
          \"reason\":\"Read timed out\",
          \"resolution\":\"Please check the Snap properties.\"
       }"
| spath
| rex mode=sed "s/.*{/{/"
| spath output=msg path=Detail.error.message
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Sep 2017 16:07:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342672#M101499</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-09-19T16:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: When I use timechart, I get a visual.  When I use chart, no results.  Any idea why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342673#M101500</link>
      <description>&lt;P&gt;Thanks, I removed the extra .message, and I am still getting the same results.  &lt;/P&gt;

&lt;P&gt;Screenshot:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://imgur.com/PQA6itN"&gt;https://imgur.com/PQA6itN&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 16:21:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342673#M101500</guid>
      <dc:creator>zeroCalm</dc:creator>
      <dc:date>2017-09-19T16:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: When I use timechart, I get a visual.  When I use chart, no results.  Any idea why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342674#M101501</link>
      <description>&lt;P&gt;Could you also post the query that you use with &lt;CODE&gt;chart&lt;/CODE&gt; command? Do you select pie visualization for both?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 16:32:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342674#M101501</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-09-19T16:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: When I use timechart, I get a visual.  When I use chart, no results.  Any idea why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342675#M101502</link>
      <description>&lt;P&gt;This &lt;CODE&gt;| spath output=msg path=Detail.error.message.message&lt;/CODE&gt; should be replaced with this &lt;CODE&gt;| spath output=msg path=Detail.error.message&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 16:55:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342675#M101502</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2017-09-19T16:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: When I use timechart, I get a visual.  When I use chart, no results.  Any idea why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342676#M101503</link>
      <description>&lt;P&gt;If this answer satisfies your question, please accept or upvote it.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 11:12:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-I-use-timechart-I-get-a-visual-When-I-use-chart-no-results/m-p/342676#M101503</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-09-20T11:12:44Z</dc:date>
    </item>
  </channel>
</rss>

