Hi Friends,
I am new to splunk. I have created instance in google cloud and installed splunk enterprise.
Problem is iam not able to access any files like inputs.config file or outputs.conf. Even if i tried to create file with vim editor, simply am getting error "command not found".
can anyone suggest me best possible solution.
Yes for 1st instance , i have used command : "sudo apt-get install & sudo apt-get update, it worked.
But for 2nd instance, I have installed splunk with wget link and used commands: "sudo apt-get install and sudo apt-get udate, now its not working. I am not able to access any files.
When iam trying to access inputs.conf and outputs.conf file , it says command not found.
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:
sudo apt-get update
sudo apt-get install vimFor RHEL/CentOS/Fedora-based systems, use: sudo yum update
sudo yum install vimYou will need sudo privileges to install software.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:
Your feedback encourages the volunteers in this community to continue contributing
Hi bro,
It was really helpful. Thank for your suggestion. I used these commands:
sudo apt-get update sudo apt-get install vim
So Everytime i install wget link for splunk enterprise installation, do i have to update apt-get and apt-get install.
Hi Friends,
I have created instance in google cloud. I have copied w get link and installed in Splunk enterprise. I am not able to access any files like inputs.conf and outputs.conf file.
when iam trying to open inputs.conf and outputs.conf file with vim editor, its simply saying "command not found".
Yesterday someone suggested to update it with following commands : sudo apt-get upgrade & sudo apt-get install. when i did the same, it worked for that respective instance.
Now when i created other instance, again same problem arises. I am not able to access inputs.conf and outputs.conf file. I tried with "sudo apt-get upgrade and sudo apt-get install. But still its throwing an error "command not found".
Please suggest me possible solutions, and let me know why is it happening everytime
Are you sure you used the full second command of "sudo apt-get install vim"? If so, what messages or errors did it return?