Refine your search:

in this manual http://www.splunk.com/base/Documentation/latest/Deploy/Extendedexampledeployseveralstandardforwarders

they say that i should run this command as part of configuration.

./splunk enable listen 9997 -auth <username>:<password>

when i do it on the machine that is supposed to work as a deployment server i get this error

./splunk enable listen 9997 -auth <username>:<password>

Command error: The subcommand 'listen' is not valid for command 'enable'.

asked 27 Apr '11, 14:18

fisk12's gravatar image

fisk12
465218
accept rate: 0%

edited 27 Apr '11, 16:18

piebob's gravatar image

piebob ♦♦
4.6k41023

1

Could you provide the output of following command 'splunk version'. Can you check if you are running the command on indexer or Universal forwarder?

(27 Apr '11, 16:29) jkerai

2 Answers:

Splunk Universal Forwarder 4.2.1 (build 98164)

Am i supposed to run the command on the deployer-server or the client?

link

answered 28 Apr '11, 00:42

fisk12's gravatar image

fisk12
465218
accept rate: 0%

It should be run on the indexer that will listen and receive data from from universal forwarder on port 9997. I am assuming that your indexer will serve the purpose of Deployment Server as well. If so, you can run the command on DeploymentServer/indexer.

(28 Apr '11, 07:44) jkerai

Forwarders send data to receivers, which are usually indexers. The "enable listen" command is the command that you run on the receiver, not the forwarder. It allows the receiver to listen for data coming from a forwarder.

How you set up a deployment server to communicate with deployment clients is a separate issue, which is convered in the earlier steps in that example.

For more information on forwarding and receiving, refer to:

http://www.splunk.com/base/Documentation/latest/Deploy/Aboutforwardingandreceivingdata

link

answered 28 Apr '11, 10:18

Steve%20G.'s gravatar image

Steve G. ♦
6131211
accept rate: 27%

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:

×635
×152
×109
×26

Asked: 27 Apr '11, 14:18

Seen: 1,163 times

Last updated: 28 Apr '11, 10:18

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