Refine your search:

3
2

I have a bunch of Lightweight Forwarders (LWF) forwarding to my central indexer. What happens to my events when there's a problem with the indexer and it can't index when my LWFs are trying to send to it?

asked 06 Apr '10, 21:44

the_wolverine's gravatar image

the_wolverine ♦
4.3k5843
accept rate: 50%


2 Answers:

The LWF will queue up events and try to resend. There is a maxQueue setting in outputs.conf that you can configure a larger queue. There are other settings you can tweak to cover your scenarios like dropping events or blocking if the queue fills. I would recommend spinning up another Splunk Indexer and use AutoLB and distributed search to limit losing connectivity to the indexing tier. You'll get better redundancy and better performance.

http://www.splunk.com/base/Documentation/4.1/Admin/Outputsconf

link

answered 06 Apr '10, 22:24

dskillman's gravatar image

dskillman ♦
487110
accept rate: 29%

If the output queue fills up, all preceding Splunk processors will block. This means if you're monitoring a file or directory, the tailing processor will block and stop moving the pointers into each file. Once the indexer is up and the output queue empties, the tailing processor will unblock and the pointer will eventually catch up. You shouldn't lose data, unless the outage is so long that the file gets rolled or deleted.

If you have network inputs, no such luck.

link

answered 06 Apr '10, 22:44

Dan's gravatar image

Dan ♦
7842317
accept rate: 33%

like all else, this is configurable. dropEventsOnQueueFull in outputs.conf

(06 Apr '10, 22:45) Dan ♦

that being said, I also recommend multiple Splunk Indexers and AutoLB. You get auto-failover in bad situations and awesome performance all other times.

(06 Apr '10, 22:46) Dan ♦
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:

×400
×119
×99

Asked: 06 Apr '10, 21:44

Seen: 1,511 times

Last updated: 06 Apr '10, 22:44

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