Getting Data In

Barracuda WAF (Web Application Firewall) truncating query string to access log and in turn into Splunk

Maycockk
Explorer

Good morning fellow Splunkers,

This might be a bit more of a Barracuda WAF question than a Splunk question but perhaps someone on here has overcome it already.

We're writing our Barracuda Access Logs into Splunk and noticed that the query string is coming through truncated. In the context of the WAF passing request through to appropriate location and functioning correctly that's absolutely fine. The writing to access log and in turn into Splunk is where we observe the truncation.

Any thoughts or ideas here? 
We use a custom format string to submit to Splunk as follows:

%t %un %lt %ai %ap %ci %cp %id %cu %m %p %h %v %s %bs %br %rtf %pmf %pf %wmf %u %px %pp %tt %uid %q %r %c

Appreciate all tips/help here. Instructions are found in the waf_export_logs.pdf and query string is specified by %q above.

See attached pics below.

Labels (1)
Tags (2)
0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @Maycockk,

If event are truncated at 10K bytes, you may have increase TRUNCATE value in your props.conf at indexer or heavy forwarder. This value is 10K default.

[barracuda_waf_sourcetype]
TRUNCATE = 20000

 

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma

Maycockk
Explorer

Thanks scelikok,

My gut feeling is this is an issue on the Barracuda side. I believe what's being sent to the access log (which in turn is being forward to Splunk) is truncated at log level. I'm hoping someone has encountered/resolved this specific problem before.

Tags (2)
0 Karma

Maycockk
Explorer

Splunk Community - WAF Query String Truncation 2 of 2.png

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...