Hi @bsirisha The error "command not found" for vim indicates that the vim text editor is either not installed on your Google Cloud instance or is not in the system's PATH for the user you are logged in as. This is a standard Linux operating system issue, not specific to Splunk. You might find that other tools such as "vi" or "nano" are installed instead of vim, but if you wish to install vim specifically then you might find the following guide helpful: Check if vim is installed: Open your terminal and run which vim. If it returns a path (like /usr/bin/vim), it's installed. If not, you'll likely get the "command not found" error again. Install vim (if not installed): Use your distribution's package manager. For Debian/Ubuntu-based systems (like many Google Cloud images), use: sudo apt-get update
sudo apt-get install vim For RHEL/CentOS/Fedora-based systems, use: sudo yum update
sudo yum install vim You will need sudo privileges to install software. Locate Splunk configuration files: Splunk configuration files (.conf files like inputs.conf, outputs.conf, etc.) are located within the Splunk installation directory, typically under $SPLUNK_HOME/etc/. The most common locations for local configurations are: $SPLUNK_HOME/etc/system/local/ (for system-wide settings) $SPLUNK_HOME/etc/apps/<app_name>/local/ (for app-specific settings) The default $SPLUNK_HOME is /opt/splunk. Navigate and edit files: Once vim is installed and you know the location, navigate to the directory and use sudo vim to edit the file, as configuration files are often owned by the splunk user or root. Always make a backup of configuration files before editing them. After editing Splunk configuration files, you often need to restart Splunk or reload the deployment server/client for changes to take effect. For more information on Splunk configuration files and their locations, refer to the Splunk documentation. https://docs.splunk.com/Documentation/Splunk/latest/Admin/Aboutconfigurationfiles 🌟 Did this answer help you? If so, please consider: Adding karma to show it was useful Marking it as the solution if it resolved your issue Commenting if you need any clarification Your feedback encourages the volunteers in this community to continue contributing
... View more