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!

Index This | What did the zero say to the eight?

June 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

Splunk Observability Cloud's AI Assistant in Action Series: Onboarding New Hires & ...

This is the fifth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Now Playing: Splunk Education Summer Learning Premieres

It’s premiere season, and Splunk Education is rolling out new releases you won’t want to miss. Whether you’re ...
OSZAR »