<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Fields Extraction in Splunk in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Fields-Extraction-in-Splunk/m-p/699421#M237432</link>
    <description>&lt;P&gt;I think I understand what you are asking about but without sample ingested data and the new output sample it is harder to decipher what is going wrong.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Sep 2024 15:01:30 GMT</pubDate>
    <dc:creator>dural_yyz</dc:creator>
    <dc:date>2024-09-18T15:01:30Z</dc:date>
    <item>
      <title>Fields Extraction in Splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fields-Extraction-in-Splunk/m-p/699412#M237429</link>
      <description>&lt;P&gt;We are using v9 format of logs in splunk. It is working fine and we are able to see logs in splunk as expected.&lt;/P&gt;
&lt;P&gt;We added 4 more fields in transform.conf and test the addon in splunk. Then additional fields taking the value&lt;/P&gt;
&lt;P&gt;of s3_filename, bucket name and prefix which are added at the end which is not correct behavior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are looking for solution with that we should be able to parse correct value in correct field and the additional fields should have null values if there is no values for them in logs.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;transform.conf

[proxylogs_fields]
DELIMS = ","
FIELDS = Timestamp,policy_identities,src,src_translated_ip,dest,content_type,action,url,http_referrer,http_user_agent,status,requestSize,responseSize,responseBodySize,sha256,category,av_detection,pua,amp_disposition,amp_malwarename,amp_score,policy_identity_type,blocked_category,identities,identity_type,request_method,dlp_status,certificate_errors,filename,rulesetID,ruleID,destinationListID,isolateAction,fileAction,warnStatus,forwarding_method,Producer,test_feild1,test_field2,test_field3,test_field4,s3_filename,aws_bucket_name,aws_prefix

props.conf


[cisco:cloud_security:proxy]
REPORT-proxylogs-fields = proxylogs_fields,extract_url_domain
LINE_BREAKER = ([\r\n]+)
# EVENT_BREAKER = ([\r\n]+)
# EVENT_BREAKER_ENABLE = true
SHOULD_LINEMERGE = false
CHARSET = AUTO
disabled = false
TRUNCATE = 1000000
MAX_EVENTS = 1000000
EVAL-product = "Cisco Secure Access and Umbrella"
EVAL-vendor = "Cisco"
EVAL-vendor_product = "Cisco Secure Access/Umbrella"
MAX_TIMESTAMP_LOOKAHEAD = 22
NO_BINARY_CHECK = true
TIME_PREFIX = ^
TIME_FORMAT = "%Y-%m-%d %H:%M:%S"
TZ = UTC
FIELDALIAS-bytes_in = requestSize as bytes_in
FIELDALIAS-bytes_out = responseSize as bytes_out
EVAL-action = lower(action)
EVAL-app = "Cisco Cloud Security"
FIELDALIAS-http_content_type = content_type as http_content_type
EVAL-http_user_agent_length = len(http_user_agent)
EVAL-url_length = len(url)
EVAL-dest = if(isnotnull(dest),dest,url_domain)
EVAL-bytes = requestSize + responseSize&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 17:38:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fields-Extraction-in-Splunk/m-p/699412#M237429</guid>
      <dc:creator>Alankrit</dc:creator>
      <dc:date>2024-09-18T17:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Fields Extraction in Splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fields-Extraction-in-Splunk/m-p/699421#M237432</link>
      <description>&lt;P&gt;I think I understand what you are asking about but without sample ingested data and the new output sample it is harder to decipher what is going wrong.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 15:01:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fields-Extraction-in-Splunk/m-p/699421#M237432</guid>
      <dc:creator>dural_yyz</dc:creator>
      <dc:date>2024-09-18T15:01:30Z</dc:date>
    </item>
  </channel>
</rss>

