Splunk Search

Splunk doesn't recognize searchbnf.conf

petersob
Explorer

Hi all,

I trying to implement online help for my custom search commands. There is a searchbnf.conf located in the $SPLUNK_HOME/etc/system/default directory.
If I put my configuration into that file everything is working fine, but if I create a new searchbnf.conf in my app-local directory it will not be recognized by splunk.

Is there any possibility to create the searchbnf.conf in the app context (without changing the system-wide one)?

Regards,
Peter

Tags (1)

pongc
Engager

Spoke with Splunk and got the answer.

To add permission for a specific entry within searchbnf, add

[searchbnf/<command stanza header in searchbnf.conf>]
export=system

to metadata\local.meta

To add permission for all searchbnf commands, add

[searchbnf]
export=system

to metadata\local.meta

0 Karma

pongc
Engager

Have this same issue as well. Using
splunk btool searchbnf list --debug
I do see that the app specific searchbnf stanzas are processed, though in search it does not show. It does work if I copy searchbnf.conf to etc\app\search\local so believe it is an configuration permission that needs to be applied via app specific local.meta, but cannot find information on how to define the config. In the GUI I do not see this defined as a config object within the context of the app.

0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...