<?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 console.log does not output - script breaks in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/console-log-does-not-output-script-breaks/m-p/219444#M13624</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a reference dashboard script which is normally working. If I add &lt;CODE&gt;console.log();&lt;/CODE&gt; lines and &lt;CODE&gt;_bump&lt;/CODE&gt; splunk, I expect to see output in chrome's console ( &lt;CODE&gt;F12&lt;/CODE&gt; ).&lt;/P&gt;

&lt;P&gt;But I don't. Am I doing something wrong?&lt;/P&gt;</description>
    <pubDate>Mon, 03 Oct 2016 09:57:30 GMT</pubDate>
    <dc:creator>bhawkins1</dc:creator>
    <dc:date>2016-10-03T09:57:30Z</dc:date>
    <item>
      <title>console.log does not output - script breaks</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/console-log-does-not-output-script-breaks/m-p/219444#M13624</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a reference dashboard script which is normally working. If I add &lt;CODE&gt;console.log();&lt;/CODE&gt; lines and &lt;CODE&gt;_bump&lt;/CODE&gt; splunk, I expect to see output in chrome's console ( &lt;CODE&gt;F12&lt;/CODE&gt; ).&lt;/P&gt;

&lt;P&gt;But I don't. Am I doing something wrong?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2016 09:57:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/console-log-does-not-output-script-breaks/m-p/219444#M13624</guid>
      <dc:creator>bhawkins1</dc:creator>
      <dc:date>2016-10-03T09:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: console.log does not output - script breaks</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/console-log-does-not-output-script-breaks/m-p/219445#M13625</link>
      <description>&lt;P&gt;Can we see some more of your script? I can't hink of a reason why console.log would not be working in this context.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2016 22:32:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/console-log-does-not-output-script-breaks/m-p/219445#M13625</guid>
      <dc:creator>lquinn</dc:creator>
      <dc:date>2016-10-03T22:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: console.log does not output - script breaks</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/console-log-does-not-output-script-breaks/m-p/219446#M13626</link>
      <description>&lt;P&gt;@lquinn you're right, &lt;CODE&gt;console.log()&lt;/CODE&gt;works in any legal context - the problem for me in this case was that the script which was working, silently began failing. Is there a way to debug/validate a dashboard script to find errors?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2016 07:38:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/console-log-does-not-output-script-breaks/m-p/219446#M13626</guid>
      <dc:creator>bhawkins1</dc:creator>
      <dc:date>2016-10-04T07:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: console.log does not output - script breaks</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/console-log-does-not-output-script-breaks/m-p/219447#M13627</link>
      <description>&lt;P&gt;For future readers with my issue: I suggest opening your script in an IDE that will validate your JS. I used &lt;CODE&gt;vscode&lt;/CODE&gt; to quickly find a missing &lt;CODE&gt;,&lt;/CODE&gt;, and my script began behaving again.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 08:49:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/console-log-does-not-output-script-breaks/m-p/219447#M13627</guid>
      <dc:creator>bhawkins1</dc:creator>
      <dc:date>2016-10-05T08:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: console.log does not output - script breaks</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/console-log-does-not-output-script-breaks/m-p/219448#M13628</link>
      <description>&lt;P&gt;If written in the correct space, dashboard scripts do support &lt;CODE&gt;console.log()&lt;/CODE&gt; calls, so if they aren't working, then either:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Your call to &lt;CODE&gt;console.log()&lt;/CODE&gt; is in an invalid point in code, or&lt;/LI&gt;
&lt;LI&gt;Your script is broken because of some other syntax error. Suggest checking the syntax with an IDE that will flag, for example, missing commas. &lt;CODE&gt;vscode&lt;/CODE&gt; does this by default.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 06 Oct 2016 07:54:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/console-log-does-not-output-script-breaks/m-p/219448#M13628</guid>
      <dc:creator>bhawkins1</dc:creator>
      <dc:date>2016-10-06T07:54:18Z</dc:date>
    </item>
  </channel>
</rss>

