<?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: Field Extraction for Complex Data Structure in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-field-Extraction-for-Complex-Data-Structure/m-p/596397#M207623</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you so much for your quick response, truly appreciate it. I think we don't have a better choice based on the quality of data. Thank you again.&lt;/P&gt;</description>
    <pubDate>Wed, 04 May 2022 15:58:27 GMT</pubDate>
    <dc:creator>SplunkDash</dc:creator>
    <dc:date>2022-05-04T15:58:27Z</dc:date>
    <item>
      <title>How to do field Extraction for Complex Data Structure?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-field-Extraction-for-Complex-Data-Structure/m-p/596392#M207621</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have source files with very inconsistent/ complex events/data structure. I wrote field extraction (inline) codes which are working for most of the cases, however not extracting field as expected for some cases. I included 3 sample events and my inline field extraction codes. Ayn help will be highly appreciated. Thank you!&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Three Sample Events&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=""&gt;June 10, 2021 10:41:39:993-0400 - INFO: 439749134|REGT|TEST|SITEMINDER|VALIDATE_ASSERTION|439749134|4deef81s-6455-460b-bf41-c126700d1e9d|2607:fb91:118e:89c9:ad53:43b0:ccce:417c|00||Application data=^CSPProviderName=IDME^givenName=KELLIE^surName=THOMPSON^dateofBirth=1975-04-25^address=21341 E Valley Vista Dr^city=Liberty June 10, 2021 10:41:39:993-0400 &amp;nbsp;EDT 2021^iat= June 10, 2021 10:41:39:993-0400 EDT 2021^AppID=OLA^cspTransactionID=7bdd62bb-966a-426a-9e47-8d2a5a772162&lt;/P&gt;
&lt;P class=""&gt;June 10, 2021 10:42:36:991-0400 - INFO: 439741123|REGT|TEST|SITEMINDER|VALIDATE_ASSERTION|439741123|4deef81s-6455-460b-bf41-c126700d1e9d|&lt;SPAN class=""&gt;&lt;SPAN&gt;65.115.214&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;SPAN class=""&gt;106&lt;/SPAN&gt;&lt;/SPAN&gt;|00||Application data=^CSPProviderName=IDME^givenName=KELLIE^surName=THOMPSON^dateofBirth=1975-04-25^address=21341 E Valley Vista Dr^city=Liberty June 10, 2021 10:42:36:991-0400 &amp;nbsp;EDT 2021^iat= June 10, 2021 10:42:36:991-0400 EDT 2021^AppID=OLA^cspTransactionID=7bdd62bb-966a-426a-9e47-8d2a5a772162&lt;/P&gt;
&lt;P class=""&gt;May 03, 2021 10:33:50:223-0400 - INFO: NON-8016|IdtokenAuth||authenticate‖lookupClaimVal is null|ERROR|SITEMINDER|&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="mailto:SDIAUTH%7Cvp2smtbappsad68.ds.irsnet.gov%7C2590@vp2smtbappsad68.ds.irsnet.gov%7Cnull%7Cnull%7C" target="_blank" rel="noopener noreferrer"&gt;QDIAUTH|vp22wsnnn012 |null|null|&lt;/A&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;STRONG&gt;My Inline field extraction codes: (Working for first 2 events but not the 3rd event)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN&gt;^(?P&amp;lt;TIMESTAMPT&amp;gt;.+)\s+\-\s\w+\:\s(?P&amp;lt;USER&amp;gt;.+)\|(?P&amp;lt;TYPE&amp;gt;\w+)\|(?P&amp;lt;SYSTEM&amp;gt;\w+)\|(?P&amp;lt;EVENT&amp;gt;\w+)\|(?P&amp;lt;EVENTID&amp;gt;\w+)\|(?P&amp;lt;SUBJECT&amp;gt;\w+)\|(?P&amp;lt;LESSION&amp;gt;\w+?\-?\w+?\-?\w+?\-?\w+?-\w+?)\|(?P&amp;lt;SRCADDR&amp;gt;.+)\|(?P&amp;lt;STATUS&amp;gt;\w+)\|(?P&amp;lt;MSG&amp;gt;\w*?)\|(?P&amp;lt;DATA&amp;gt;.+)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 16:37:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-field-Extraction-for-Complex-Data-Structure/m-p/596392#M207621</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2022-05-04T16:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction for Complex Data Structure</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-field-Extraction-for-Complex-Data-Structure/m-p/596394#M207622</link>
      <description>&lt;P&gt;Does this help?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;^(?P&amp;lt;TIMESTAMPT&amp;gt;.+)\s+\-\s\w+\:\s(?P&amp;lt;USER&amp;gt;.+)\|(?P&amp;lt;TYPE&amp;gt;\w+)\|(?P&amp;lt;SYSTEM&amp;gt;\w*)\|(?P&amp;lt;EVENT&amp;gt;\w+)\|(?P&amp;lt;EVENTID&amp;gt;\w*)\|(?P&amp;lt;SUBJECT&amp;gt;\w*)\|(?P&amp;lt;LESSION&amp;gt;\w*?\-?\w*?\-?\w*?\-?\w*?\-?\w*?)\|(?P&amp;lt;SRCADDR&amp;gt;.+)\|(?P&amp;lt;STATUS&amp;gt;\w+)\|(?P&amp;lt;MSG&amp;gt;\w*?)\|(?P&amp;lt;DATA&amp;gt;.+)&lt;/LI-CODE&gt;&lt;P&gt;By the way, the pasting of the third message may have been corrupted and I have assumed that there should be 4 pipes in the middle&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;authenticate||||lookupClaimVal is null&lt;/LI-CODE&gt;&lt;P&gt;It is often clearer to paste events etc into code blocks to avoid spurious substitutions being made!&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 15:41:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-field-Extraction-for-Complex-Data-Structure/m-p/596394#M207622</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-04T15:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction for Complex Data Structure</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-field-Extraction-for-Complex-Data-Structure/m-p/596397#M207623</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you so much for your quick response, truly appreciate it. I think we don't have a better choice based on the quality of data. Thank you again.&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 15:58:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-field-Extraction-for-Complex-Data-Structure/m-p/596397#M207623</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2022-05-04T15:58:27Z</dc:date>
    </item>
  </channel>
</rss>

