Monday, January 12, 2015

get splunk 3.4 off the system and put it back on

 remove splunk 3.4 and reinstall  
   
because it feels good to do. but let's not forget your 
awesome hacks.  
   
~# mkdir splunk.add ; cd splunk.add  
~/splunk.add# cp /opt/splunk/lib/python2.5/site-packages/splunk/ \
     appserver/oxiclean/SearchService.py .  
~/splunk.add# cp /opt/splunk/etc/system/default/web.conf .  
~# dpkg -l |grep 'splunk'  
   
ii splunk              3.4-44873             Splunk   
   
~# dpkg -P splunk  
   
(Reading database ... 58972 files and directories currently installed.)  
Removing splunk ...  
   
~# rm -rf /opt/splunk  
~# dpkg -i splunk-3.4-44873-linux-2.6-amd64.deb  
~# cp splunk.add/SearchService.py /opt/splunk/lib/python2.5/ \
     site-ackages/splunk/appserver/oxiclean/  
~# cp splunk.add/web.conf /opt/splunk/etc/system/default/  
~# ./opt/splunk/bin/splunk start  
   

No comments: