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.

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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

(re)Introducing the Splunk Community Champions + 2026 – 2027 Splunk MVPs ...

This program exists as a channel to empower and recognize Splunk advocates and help supercharge initiatives to ...

Introducing the 2026 - 2027 SplunkTrust cohort!

The goal of the SplunkTrust™ membership has historically been to acknowledge and recognize those who go above ...

Pro Tips for .conf26: How to Prep Like a Splunk Veteran

There’s no shortage of incredible content lined up for .conf26 in Denver, from deep-dive technical sessions ...