<?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 Custom command description field location in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Custom-command-description-field-location/m-p/682725#M233232</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using Splunk Enterprise 9.1.2 on my local Linux machine (in a docker container).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When documenting a new custom command in the searchbnf.conf file in my Splunk app, one of the fields is called "description". However, I can't seem to find where this field is actually used?&lt;BR /&gt;The command help that pops up when I start typing the command in the search assistant in Splunk Web only shows the "shortdesc" field. This is also true for command from apps installed from SplunkBase.&lt;BR /&gt;&lt;BR /&gt;I'm attaching a screenshot that shows what I see what I start typing a command. In this case I'm using the "summary" command from the Splunk ML app.&lt;BR /&gt;&lt;BR /&gt;The entry in searchbnf.conf is:&lt;/P&gt;&lt;PRE&gt;[summary-command]&lt;BR /&gt;syntax = summary &amp;lt;model_name&amp;gt;&lt;BR /&gt;shortdesc = Returns a summary of a machine learning model that was learned using the "fit" command.&lt;BR /&gt;description = The summary is algorithm specific. For &amp;lt;LinearRegression&amp;gt;, \&lt;BR /&gt;the summary is a list of coefficients. For \&lt;BR /&gt;&amp;lt;LogisticRegression&amp;gt;, the summary is a list of \&lt;BR /&gt;coefficients for each class.&lt;BR /&gt;comment1 = Inspect a previously-learned LinearRegression model, "errors_over_time":&lt;BR /&gt;example1 = | summary errors_over_time&lt;BR /&gt;usage = public&lt;BR /&gt;related = fit apply listmodels deletemodel&lt;/PRE&gt;&lt;P&gt;As can be seen, only "shortdesc" shows in the little help window that pops up. Is this normal? Is there something to change in some configuration to make the full description show? Is there a different place I can find the full description for the command?&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmaoz_0-1712058392771.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30014iA2FE0199A877FC9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tmaoz_0-1712058392771.png" alt="tmaoz_0-1712058392771.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;FYI, the "Learn more" link goes to&lt;A href="http://localhost:8000/en-US/help?location=search_app.assist.summary&amp;quot;" target="_blank" rel="noopener"&gt;&amp;nbsp;http://localhost:8000/en-US/help?location=search_app.assist.summary&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;which gets automatically redirected to&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/MLApp/5.4.1/User/Customsearchcommands?ref=hk#summary" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/MLApp/5.4.1/User/Customsearchcommands?ref=hk#summary&lt;/A&gt;. However, for my custom command it gets redirected to&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.2/SearchReference/3rdpartycustomcommands?ref=hk" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/9.1.2/SearchReference/3rdpartycustomcommands?ref=hk&lt;/A&gt;&amp;nbsp;so not relevant...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 02 Apr 2024 11:52:24 GMT</pubDate>
    <dc:creator>tmaoz</dc:creator>
    <dc:date>2024-04-02T11:52:24Z</dc:date>
    <item>
      <title>Custom command description field location</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-command-description-field-location/m-p/682725#M233232</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using Splunk Enterprise 9.1.2 on my local Linux machine (in a docker container).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When documenting a new custom command in the searchbnf.conf file in my Splunk app, one of the fields is called "description". However, I can't seem to find where this field is actually used?&lt;BR /&gt;The command help that pops up when I start typing the command in the search assistant in Splunk Web only shows the "shortdesc" field. This is also true for command from apps installed from SplunkBase.&lt;BR /&gt;&lt;BR /&gt;I'm attaching a screenshot that shows what I see what I start typing a command. In this case I'm using the "summary" command from the Splunk ML app.&lt;BR /&gt;&lt;BR /&gt;The entry in searchbnf.conf is:&lt;/P&gt;&lt;PRE&gt;[summary-command]&lt;BR /&gt;syntax = summary &amp;lt;model_name&amp;gt;&lt;BR /&gt;shortdesc = Returns a summary of a machine learning model that was learned using the "fit" command.&lt;BR /&gt;description = The summary is algorithm specific. For &amp;lt;LinearRegression&amp;gt;, \&lt;BR /&gt;the summary is a list of coefficients. For \&lt;BR /&gt;&amp;lt;LogisticRegression&amp;gt;, the summary is a list of \&lt;BR /&gt;coefficients for each class.&lt;BR /&gt;comment1 = Inspect a previously-learned LinearRegression model, "errors_over_time":&lt;BR /&gt;example1 = | summary errors_over_time&lt;BR /&gt;usage = public&lt;BR /&gt;related = fit apply listmodels deletemodel&lt;/PRE&gt;&lt;P&gt;As can be seen, only "shortdesc" shows in the little help window that pops up. Is this normal? Is there something to change in some configuration to make the full description show? Is there a different place I can find the full description for the command?&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmaoz_0-1712058392771.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30014iA2FE0199A877FC9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tmaoz_0-1712058392771.png" alt="tmaoz_0-1712058392771.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;FYI, the "Learn more" link goes to&lt;A href="http://localhost:8000/en-US/help?location=search_app.assist.summary&amp;quot;" target="_blank" rel="noopener"&gt;&amp;nbsp;http://localhost:8000/en-US/help?location=search_app.assist.summary&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;which gets automatically redirected to&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/MLApp/5.4.1/User/Customsearchcommands?ref=hk#summary" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/MLApp/5.4.1/User/Customsearchcommands?ref=hk#summary&lt;/A&gt;. However, for my custom command it gets redirected to&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.2/SearchReference/3rdpartycustomcommands?ref=hk" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/9.1.2/SearchReference/3rdpartycustomcommands?ref=hk&lt;/A&gt;&amp;nbsp;so not relevant...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 11:52:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-command-description-field-location/m-p/682725#M233232</guid>
      <dc:creator>tmaoz</dc:creator>
      <dc:date>2024-04-02T11:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Custom command description field location</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-command-description-field-location/m-p/683967#M233507</link>
      <description>&lt;P&gt;According to the docs for searchbnf.conf, setting the shortdesc field to a value will make it so that the description field only appears when the search assistant is set to "Full" mode.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.2.1/Admin/Searchbnfconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.2.1/Admin/Searchbnfconf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you would like description to always appear in that window, and it is not too long, then you could comment out the shortdesc field. Or you could set your user preference so that the Search assistant is in "Full" mode. (User "Preferences"-&amp;gt;"SPL Editor"-&amp;gt;"Search assistant". It defaults to "Compact")&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 20:05:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-command-description-field-location/m-p/683967#M233507</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-04-11T20:05:22Z</dc:date>
    </item>
  </channel>
</rss>

