Getting Data In

access_combined Field Definitions

sjwone
Explorer

I haven't been able to find definitions of the access_combined source type fields. Does anyone know where they might exist? Thanks!

Tags (1)
1 Solution

kristian_kolb
Ultra Champion

The extractions are found in configuration files in $SPLUNK_HOME/etc/system/default/

props.conf (from where the extraction is called)

[access_combined]
REPORT-access = access-extractions

transforms.conf (where it actually happens)

[access-extractions]
# matches access-common or access-combined apache logging formats
# Extracts: clientip, clientport, ident, user, req_time, method, uri, root, file, uri_domain, uri_query,
version, status, bytes, referer_url, referer_domain, referer_proto, useragent, cookie, other (remaining c
hars)
# Note: referer is misspelled in purpose because that is the "official" spelling for "HTTP referer"
REGEX = ^[[nspaces:clientip]]\s++[[nspaces:ident]]\s++[[nspaces:user]]\s++[[sbstring:req_time]]\s++[[acce
ss-request]]\s++[[nspaces:status]]\s++[[nspaces:bytes]](?:\s++"(?<referer>[[bc_domain:referer_]]?+[^"]*+)
"(?:\s++[[qstring:useragent]](?:\s++[[qstring:cookie]])?+)?+)?[[all:other]]

Whatever you do, don't modify any file in a 'default' directory.

/K

View solution in original post

kristian_kolb
Ultra Champion

The extractions are found in configuration files in $SPLUNK_HOME/etc/system/default/

props.conf (from where the extraction is called)

[access_combined]
REPORT-access = access-extractions

transforms.conf (where it actually happens)

[access-extractions]
# matches access-common or access-combined apache logging formats
# Extracts: clientip, clientport, ident, user, req_time, method, uri, root, file, uri_domain, uri_query,
version, status, bytes, referer_url, referer_domain, referer_proto, useragent, cookie, other (remaining c
hars)
# Note: referer is misspelled in purpose because that is the "official" spelling for "HTTP referer"
REGEX = ^[[nspaces:clientip]]\s++[[nspaces:ident]]\s++[[nspaces:user]]\s++[[sbstring:req_time]]\s++[[acce
ss-request]]\s++[[nspaces:status]]\s++[[nspaces:bytes]](?:\s++"(?<referer>[[bc_domain:referer_]]?+[^"]*+)
"(?:\s++[[qstring:useragent]](?:\s++[[qstring:cookie]])?+)?+)?[[all:other]]

Whatever you do, don't modify any file in a 'default' directory.

/K

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...