Refine your search:

Hi,

I have installed splunk for unix app on splunk forwarder and it is working properly and it sends data to Splunk receiver.So is it possible to enable only CPU scripts and disable other scripts using CLI.Can you also recommend me links related to that issue?

asked 11 May '11, 09:23

bwenge's gravatar image

bwenge
912
accept rate: 0%

edited 11 May '11, 09:48

jbsplunk's gravatar image

jbsplunk ♦
4.9k114


One Answer:

Those are mostly scripted inputs. You could disable them in the $SPLUNK_HOME/etc/apps/unix/local by copying the inputs.conf from $SPLUNK_HOME/etc/apps/unix/default/ and then setting disabled = 1 under each of the scripted inputs that you do not want to to see.

link

answered 11 May '11, 09:30

jbsplunk's gravatar image

jbsplunk ♦
4.9k114
accept rate: 34%

I have put disabled=1 for all scripted inputs in the $SPLUNK_HOME/etc/apps/unix/local except for script cpu.sh where disabled=0.But when I make search in my splunk receiver, I don't see output from cpu.sh.But when I put disabled=0 for all scripted inputs ,I see all output from all scripted inputs.So why when I put disabled=0 for only cpu.sh,I don't see its output

(12 May '11, 05:18) bwenge

What frequency with which you run this script? Perhaps the CPU script simply hasn't run again?

(12 May '11, 13:19) jbsplunk ♦
Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×187
×16

Asked: 11 May '11, 09:23

Seen: 1,049 times

Last updated: 12 May '11, 13:19

Copyright © 2005-2012 Splunk, Inc. All rights reserved.