I created a custom search command on windows, but the following error message is displayed and I can not execute it.
In the MacOS environment, could you create, but is there a problem that depends on Windows?
" Error in 'run' command: The external search command 'HelloWorld' does not exist in commands.conf. "
Here are the things I tried.
Create new app
App name : "Hello World"
Folder name : "hello_world"
Create executable file
Create configuration file
[Role_admin]
Run_script_HelloWorld = enabled
Hi!
Are you attempting to run the custom search command from the default Search & Reporting app? If so, you need to enable the command to run across apps. You can do this in Splunk Web on the Settings > Advanced Search > Search Commands page. For more information, see Manage access to a custom search command.
Please let me know if this helps!
-Taylor
Hi Taylor
There was no command that I created on the Settings > Advanced Search > Search Commands page.
Do I need splunk SDK to create custom search commands?
When made with macOS, it was usable without being conscious.
How do I make custom search commands?
I do not understand the correct procedure for creating a custom search command.
ketaka
Hi Ketaka!
I would recommend creating custom search commands with the Splunk SDK for Python. The SDK contains all of the Python classes and templates that you need to build the command.
For information about creating custom search commands with the Python SDK, please see http://dev.splunk.com/view/custom-spl/SP-CAAAFFT. These docs contain an overview of creating custom search commands as well as examples from the SDK.
Please let me know if this helps!
-Taylor
Also in the link provided by @tcole_splunk is the parent topic (on the right hand navigation) for Introduction to custom search commands