Refine your search:

Hello Everyone,

I am trying to do some troubleshooting on our inputs.conf, specifically the forwarder is pulling in logs to the indexer correctly. However, the issue I am experiencing is that I have modified the inputs.conf on the forwarder to pull in xml files in a new location, but they are not showing up.

Is there a way I can debug the inputs.conf and see what files it is pulling in / what is being blacklisted and why through the command line interface?

Thanks in advance !

--Asif Ahmad Asif.Ahmad@ni.com

asked 28 Dec '11, 14:39

A4orce84's gravatar image

A4orce84
114
accept rate: 0%


3 Answers:

Amrit's input processor script may help, http://blogs.splunk.com/2011/01/02/did-i-miss-christmas-2/

link

answered 28 Dec '11, 14:58

dwaddle's gravatar image

dwaddle ♦
15.5k2924
accept rate: 33%

1

The great part about using this, is that it will actually tell you the files if found under the monitor path, and the results of why it isn't indexing them if that's the case.

(02 Jan '12, 14:33) mikelanghorst

This (below) should tell you all you need to know about your inputs.

./splunk cmd btool inputs list --debug

Also, you might want to set tailingprocessor in debug mode (log.cfg) and check what the logs (splunkd.log) say about the particular input you are looking for...

link

answered 28 Dec '11, 16:21

Genti's gravatar image

Genti ♦
3.8k5441
accept rate: 37%

Thanks for the replies guys!

Genti -- I am not really seeing anything related to my specific inputs.conf change. Is there something (stanza) I need to look at specifically?

Thanks.

--Asif

link

answered 29 Dec '11, 13:08

A4orce84's gravatar image

A4orce84
114
accept rate: 0%

you mentioned: "I have modified the inputs.conf on the forwarder to pull in xml files in a new location" This means that there should be a stanza in your inputs.conf about these xml files. As such, you SHOULD definitely see these when you do a btool on inputs. Did you do this on the forwarder side?

(29 Dec '11, 13:14) Genti ♦
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:

×150

Asked: 28 Dec '11, 14:39

Seen: 1,254 times

Last updated: 02 Jan '12, 14:33

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