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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...