<?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 from Multi line _raw data in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-Multi-line-raw-data/m-p/530198#M149801</link>
    <description>&lt;P&gt;This regex is not working,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Supriya_0-1605873631829.png" style="width: 661px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/12002iAAC8FFB4C4CF4F0F/image-dimensions/661x98?v=v2" width="661" height="98" role="button" title="Supriya_0-1605873631829.png" alt="Supriya_0-1605873631829.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could you please help me with the Line_Breaker&lt;/P&gt;</description>
    <pubDate>Fri, 20 Nov 2020 12:00:54 GMT</pubDate>
    <dc:creator>Supriya</dc:creator>
    <dc:date>2020-11-20T12:00:54Z</dc:date>
    <item>
      <title>Field Extraction from Multi line _raw data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-Multi-line-raw-data/m-p/529325#M149481</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to extract the fields Name, Version, VendorName, usesLicensing, LicenseType, ExpiractDateString, LicenseKey, SEN based on delimiter(:) from the below raw data&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Supriya_0-1605283541912.png" style="width: 791px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11890i1EE2BC8350DF4DA7/image-dimensions/791x212?v=v2" width="791" height="212" role="button" title="Supriya_0-1605283541912.png" alt="Supriya_0-1605283541912.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could someone please help me with the query for field extraction.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 16:09:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-Multi-line-raw-data/m-p/529325#M149481</guid>
      <dc:creator>Supriya</dc:creator>
      <dc:date>2020-11-13T16:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from Multi line _raw data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-Multi-line-raw-data/m-p/529343#M149486</link>
      <description>&lt;P&gt;What have you tried so far?&lt;/P&gt;&lt;P&gt;It would help if you posted the sample event as text rather than a screenshot so we can test without having to re-type that hideous mess (no way I'm typing all of that).&lt;/P&gt;&lt;P&gt;Is the number of fields constant?&amp;nbsp; How about the number of ":"s?&amp;nbsp; We need something to key off of to find the values.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 18:06:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-Multi-line-raw-data/m-p/529343#M149486</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-11-13T18:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from Multi line _raw data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-Multi-line-raw-data/m-p/529482#M149543</link>
      <description>&lt;P&gt;Thank you for your response!&lt;/P&gt;&lt;P&gt;The Query which I"m trying is:&lt;/P&gt;&lt;P&gt;index="index" source="E:\\Logs\\log.csv"|rename values(Date) as * | search Date="*:*"| mvexpand Date|&lt;BR /&gt;eval&amp;nbsp; Name=mvindex(split(Date,":"),0), Version=mvindex(split(Date,":"),1), VendorName=mvindex(split(Date,":"),2) |fields Name Version VendorName | table Name Version VendorName&lt;/P&gt;&lt;P&gt;The field names to extract are name, version, VendorName, usesLicensing, LicenseType, ExpiryDateString, LicenseKey, SEN&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Supriya_0-1605503559484.png" style="width: 706px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11907iED7BF051FDDDCB94/image-dimensions/706x113?v=v2" width="706" height="113" role="button" title="Supriya_0-1605503559484.png" alt="Supriya_0-1605503559484.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But I'm to extract only one row from the below Event&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Event Data:(having multiple rows in&amp;nbsp; single event)&lt;/P&gt;&lt;P&gt;"name":"version":"VendorName":"usesLicensing":"LicenseType":"ExpiryDateString":"LicenseKey":"SEN"&lt;BR /&gt;"Atlassian Troubleshooting and Support Tools":"1.24.1":"Atlassian":"False"::::&lt;BR /&gt;"Confluence Cloud Migration Assistant":"2.5.1":"Atlassian":"False"::::&lt;BR /&gt;"Copy Space Plugin":"2.3":"Atlassian":"False"::::&lt;BR /&gt;"SAML Single Sign On for Confluence":"3.5.3":"re:solution":"True":"COMMERCIAL"::"AAABbQ0ODAoPeNqVkV9rwjAUxd/zKQJ70QdL63T+gcKkFiZTO1a3p73cdbc1mKblJpG5T7+0VuYeL&lt;BR /&gt;YSQe5LfPef2bmeRLzHjwYT707k/mvszHqU7PvSDGdva8hMpyd80kg4D331siTojURtRqTBdbNY8F&lt;BR /&gt;aqQ6LZC8UTxXpomfR5VKpcWVYY8r+j62EuRjkh93uJ4i/6YuxtliZQJkHwtMlQaWUQITZslGAwbP&lt;BR /&gt;4NgOAimzMEMZGYLJYZrewD9w/kzHCp5UeINCBnKVvIOjfK4R6HwgMrLqpLFR5C2RYc5SNfJFT1CX&lt;BR /&gt;UnbFD0wEnQtbSGU9jSUUuvK+4vguRbiiKEhi0yezb67FA1veCsrNUAGqTPijCuDCpwSf9eCTl32o&lt;BR /&gt;d9mn7CEClBCn80/daH4yj0i1RZBsjTehm4NgvH9eDIePbBuoFdEq6QohcGvi7Y71dgONEo2m/g1W&lt;BR /&gt;i3WtybBxkRNQneTebGU7UHj/983Yb/LuNtnMCwCFHR9orCqkZtBlrvqerjNLSnZ71C4AhQQjh4x1&lt;BR /&gt;1O2SMKZihnj4mbQ2jX+bw==X02ht":"SEN-15357546"&lt;BR /&gt;"SAMLWrapper-Plugin":"3.5.3":"re:solution":"False"::::&lt;BR /&gt;"Team Calendars":"6.0.49":"Atlassian Pty Ltd":"True":"COMMERCIAL"::"AAABTg0ODAoPeNpdkF9LwzAUxd/zKQK+6MNGWwZdBwGlKzjcH3HVJ0Gu2a0LTdNykwz105t2FXSBv&lt;BR /&gt;Nyc/O4556r0yJcoeZzyaL6IZoso4/m+5EkUZ2yJVpLqnGqNKBEanoNGcwCyvGqJ562ptEcjkV/vk&lt;BR /&gt;U5INzyOwuHPFsm+LoKiaZCkAs3XSqKxyLa+eUfaVYNEDHLmAvtN/rKnaBxSR8qicOSR5YTQe1iCQ&lt;BR /&gt;9Ebm8TJJJ6zsN+BdFtoUKx9Dfab8weoW30JDCJ1GmEXT3sHFLaJCnQwNxKLDSgt9ICc1j3x9ojKY&lt;BR /&gt;I1mKtuGFSfQfrA0/tPncC8hUj9MWACEEAZCN8Vnp+hr9J5Eg/f00sbYTvnV4RAn3202xVO+uluzH&lt;BR /&gt;X2AUfa87n60wVd9R2YYgmb7YivCnczTLEtmMzbi/qz2RqtGOTywR0/yCBb/t5myH9wCtHUwLgIVA&lt;BR /&gt;I9H5o1K8FkD5GzwxpwvJeR1NEfQAhUAkR4yfmoZx9KvHtEXWsZQ8+8qaAM=X02gk":"SEN-8799244"&lt;BR /&gt;"techradar":"1.1":"it-economics GmbH":"False"::::&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 05:13:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-Multi-line-raw-data/m-p/529482#M149543</guid>
      <dc:creator>Supriya</dc:creator>
      <dc:date>2020-11-16T05:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from Multi line _raw data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-Multi-line-raw-data/m-p/529483#M149544</link>
      <description>&lt;P&gt;In a single event, I have multiple rows,&lt;/P&gt;&lt;P&gt;(having 7 colons (:) )for each row&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 01:11:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-Multi-line-raw-data/m-p/529483#M149544</guid>
      <dc:creator>Supriya</dc:creator>
      <dc:date>2020-11-16T01:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from Multi line _raw data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-Multi-line-raw-data/m-p/529559#M149572</link>
      <description>&lt;P&gt;Consider onboarding the data as CSV (Colon-Separated Value) so Splunk handles the field extraction for you.&lt;/P&gt;&lt;P&gt;If you want to do it yourself then this regex should do it.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"(?&amp;lt;name&amp;gt;[^"]+)":"(?&amp;lt;version&amp;gt;[^"]+)":"(?&amp;lt;VendorName&amp;gt;[^"]+)":"(?&amp;lt;usesLicensing&amp;gt;[^"]+)":(?:"(?&amp;lt;LicenseType&amp;gt;[^"]*)")?:(?:"(?&amp;lt;ExpiryDateString&amp;gt;[^"]*)")?:(?:"(?&amp;lt;LicenseKey&amp;gt;[^"]*)")?:(?:"(?&amp;lt;SEN&amp;gt;[^"]*)")?&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 16 Nov 2020 15:21:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-Multi-line-raw-data/m-p/529559#M149572</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-11-16T15:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from Multi line _raw data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-Multi-line-raw-data/m-p/530198#M149801</link>
      <description>&lt;P&gt;This regex is not working,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Supriya_0-1605873631829.png" style="width: 661px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/12002iAAC8FFB4C4CF4F0F/image-dimensions/661x98?v=v2" width="661" height="98" role="button" title="Supriya_0-1605873631829.png" alt="Supriya_0-1605873631829.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could you please help me with the Line_Breaker&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 12:00:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-Multi-line-raw-data/m-p/530198#M149801</guid>
      <dc:creator>Supriya</dc:creator>
      <dc:date>2020-11-20T12:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction from Multi line _raw data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-Multi-line-raw-data/m-p/530210#M149807</link>
      <description>&lt;P&gt;When that regex is used in the rex command the embedded quotation marks must be escaped, like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"(?&amp;lt;name&amp;gt;[^\\\"]+)\\\":\\\"(?&amp;lt;version&amp;gt;[^\\\"]+)\\\":\\\"(?&amp;lt;VendorName&amp;gt;[^\\\"]+)\\\":\\\"(?&amp;lt;usesLicensing&amp;gt;[^\\\"]+)\\\":(?:\\\"(?&amp;lt;LicenseType&amp;gt;[^\\\"]*)\\\")?:(?:\\\"(?&amp;lt;ExpiryDateString&amp;gt;[^\\\"]*)\\\")?:(?:\\\"(?&amp;lt;LicenseKey&amp;gt;[^\\\"]*)\\\")?:(?:\\\"(?&amp;lt;SEN&amp;gt;[^\\\"]*)\\\")?&lt;/LI-CODE&gt;&lt;P&gt;What LINE_BREAKER?&amp;nbsp; This is the first mention of that.&amp;nbsp; Please post a new question about it.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 14:10:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-from-Multi-line-raw-data/m-p/530210#M149807</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-11-20T14:10:20Z</dc:date>
    </item>
  </channel>
</rss>

