<?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 Returning errors in UI views SearchFlashMessages or alert-error in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Returning-errors-in-UI-views-SearchFlashMessages-or-alert-error/m-p/700876#M11710</link>
    <description>&lt;P&gt;I'm trying to get my custom python generating command to output warnings or alerts below the search bar in the UI.&lt;/P&gt;&lt;P&gt;If I raise an exception, it displays there automatically, but like all exceptions it's messy. &amp;nbsp;I'd like to be able to catch the exception and format it correctly, or better still just write out the warning message for it to be picked up by the GUI.&lt;/P&gt;&lt;P&gt;It looks like I should create some custom [messages.conf] stanza and include that Name and formatting in the message.&lt;/P&gt;&lt;P&gt;[PYTHONSCRIPT:RESULTS_S_S]&lt;/P&gt;&lt;P&gt;message = Expecting %s results, server provided %s&lt;/P&gt;&lt;P&gt;The current logging is going to search.log (CHUNKEDEXTPROCESSORVIASTDERRLOGGER) but not reaching info.csv (infoPath).&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2024 12:01:32 GMT</pubDate>
    <dc:creator>peter_m</dc:creator>
    <dc:date>2024-10-03T12:01:32Z</dc:date>
    <item>
      <title>Returning errors in UI views SearchFlashMessages or alert-error</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Returning-errors-in-UI-views-SearchFlashMessages-or-alert-error/m-p/700876#M11710</link>
      <description>&lt;P&gt;I'm trying to get my custom python generating command to output warnings or alerts below the search bar in the UI.&lt;/P&gt;&lt;P&gt;If I raise an exception, it displays there automatically, but like all exceptions it's messy. &amp;nbsp;I'd like to be able to catch the exception and format it correctly, or better still just write out the warning message for it to be picked up by the GUI.&lt;/P&gt;&lt;P&gt;It looks like I should create some custom [messages.conf] stanza and include that Name and formatting in the message.&lt;/P&gt;&lt;P&gt;[PYTHONSCRIPT:RESULTS_S_S]&lt;/P&gt;&lt;P&gt;message = Expecting %s results, server provided %s&lt;/P&gt;&lt;P&gt;The current logging is going to search.log (CHUNKEDEXTPROCESSORVIASTDERRLOGGER) but not reaching info.csv (infoPath).&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 12:01:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Returning-errors-in-UI-views-SearchFlashMessages-or-alert-error/m-p/700876#M11710</guid>
      <dc:creator>peter_m</dc:creator>
      <dc:date>2024-10-03T12:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Returning errors in UI views SearchFlashMessages or alert-error</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Returning-errors-in-UI-views-SearchFlashMessages-or-alert-error/m-p/700878#M11711</link>
      <description>&lt;P&gt;Forgot to mention: would this be done via an update to the job status (while it's running)? If so please share any example code.. thanks&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 12:14:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Returning-errors-in-UI-views-SearchFlashMessages-or-alert-error/m-p/700878#M11711</guid>
      <dc:creator>peter_m</dc:creator>
      <dc:date>2024-10-03T12:14:10Z</dc:date>
    </item>
  </channel>
</rss>

