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.pngSplunk 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!

How much can you really learn in 3 minutes?

Observability can certainly be hard to understand – there's a lot of jargon and buzzwords and it seems to ...

Event Series: The Agentic SOC: Trust Before Autonomy

AI is fundamentally changing security operations, but true progress requires more than just automation—it ...

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...