<?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 Browser URL for custom command in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Browser-URL-for-custom-command/m-p/508014#M9074</link>
    <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I get the browser URL for the search query while executing a custom command in a python script? I know for scripted alerts this value is stored in SPLUNK_ARG_6. But this variable is not set while I am executing custom commands. Can anybody help me out here?&lt;/P&gt;&lt;PRE&gt;SPLUNK_ARG_0 Script name
SPLUNK_ARG_1 Number of events returned
SPLUNK_ARG_2 Search terms
SPLUNK_ARG_3 Fully qualified query string
SPLUNK_ARG_4 Name of saved search
SPLUNK_ARG_5 Trigger reason (for example, "The number of events was greater than 1")
SPLUNK_ARG_6 Browser URL to view the saved search
SPLUNK_ARG_8 File in which the results for this search are stored (contains raw results) &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jul 2020 08:57:34 GMT</pubDate>
    <dc:creator>SS</dc:creator>
    <dc:date>2020-07-08T08:57:34Z</dc:date>
    <item>
      <title>Browser URL for custom command</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Browser-URL-for-custom-command/m-p/508014#M9074</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I get the browser URL for the search query while executing a custom command in a python script? I know for scripted alerts this value is stored in SPLUNK_ARG_6. But this variable is not set while I am executing custom commands. Can anybody help me out here?&lt;/P&gt;&lt;PRE&gt;SPLUNK_ARG_0 Script name
SPLUNK_ARG_1 Number of events returned
SPLUNK_ARG_2 Search terms
SPLUNK_ARG_3 Fully qualified query string
SPLUNK_ARG_4 Name of saved search
SPLUNK_ARG_5 Trigger reason (for example, "The number of events was greater than 1")
SPLUNK_ARG_6 Browser URL to view the saved search
SPLUNK_ARG_8 File in which the results for this search are stored (contains raw results) &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 08:57:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Browser-URL-for-custom-command/m-p/508014#M9074</guid>
      <dc:creator>SS</dc:creator>
      <dc:date>2020-07-08T08:57:34Z</dc:date>
    </item>
  </channel>
</rss>

