Getting Data In

>256 lines events on universal forwarder

0range
Communicator

Hello.
How to load more than 256-line events when we use universal forwarders?

0 Karma

Ayn
Legend

This is not configured on the Universal Forwarders, but on the indexer. See the MAX_EVENTS directive in props.conf: http://docs.splunk.com/Documentation/Splunk/latest/admin/Propsconf

...so, to clarify, what you'd do is put something like this in:

[yoursourcetype]
MAX_EVENTS = 1000

kristian_kolb
Ultra Champion

This is a setting in props.conf on the indexer (or a Heavy Forwarder if you have that as a relay). By default Splunk will cut multline messages at 256 lines, and each line at 10000 bytes. This behaviour can be altered with the MAX_EVENTS and TRUNCATE parameters (respectively), e.g.

props.conf

[my_sourcetype]
SHOULD_LINEMERGE = true
BREAK_ONLY_BEFORE_DATE = true
MAX_EVENTS = 1024
TRUNCATE = 400

The above configuration will allow each message to contain up to 1024 lines, and each line can up to 400 bytes long.

See the documentation for props.conf for further details and other configuration options.

http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf

/K

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...