Installation

CLI auto-complete stopped working after 8.2. upgrade

sylim_splunk
Splunk Employee
Splunk Employee

Functionality worked before the upgrade. After upgrade logon shows "Tab-completion of "splunk <verb> <object> is available".

Like,

$ source ./setSplunkEnv
Tab-completion of "splunk <verb> <object>" is available.

 

But when utilized it returns "Splunk re-bash: completion: function 'fSplunkComplete' not found.

File is in "/opt/splunk/bin/setSplunkEnv" "/opt/splunk/share/splunk/cli-command-completion.sh" location and referenced files are both available.

Labels (2)
Tags (1)
0 Karma
1 Solution

sylim_splunk
Splunk Employee
Splunk Employee

The fixed version is yet to be announce as of this writing.

*** How to work around the issue ***

1. open "$SPLUNK_HOME/etc/system/static/splunkrc_cmds.xml",
2. Then go to the line 6232 and add merge-buckets for "cmd name"

6232 <cmd name="merge-buckets">

3. Save the change
4. source ./setSplunkEnv and verify it works.

View solution in original post

Tags (1)

sylim_splunk
Splunk Employee
Splunk Employee

The fixed version is yet to be announce as of this writing.

*** How to work around the issue ***

1. open "$SPLUNK_HOME/etc/system/static/splunkrc_cmds.xml",
2. Then go to the line 6232 and add merge-buckets for "cmd name"

6232 <cmd name="merge-buckets">

3. Save the change
4. source ./setSplunkEnv and verify it works.

Tags (1)
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...