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)
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...