<?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 Unstructured Quotation/Pair delimiter in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-for-Unstructured-Quotation-Pair-delimiter/m-p/567965#M197935</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;There is a typo on second capture group;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"(?&amp;lt;field_name&amp;gt;[^"]+)":"?(?&amp;lt;field_value&amp;gt;[^",]+)"?&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 22 Sep 2021 07:08:30 GMT</pubDate>
    <dc:creator>scelikok</dc:creator>
    <dc:date>2021-09-22T07:08:30Z</dc:date>
    <item>
      <title>Field Extraction for Unstructured Quotation/Pair delimiter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-for-Unstructured-Quotation-Pair-delimiter/m-p/567937#M197925</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;How, I would&amp;nbsp; write the regex for the&amp;nbsp; following events (3 sample events provided below). It has "," pair delimiter, but " (quotation) are missing&amp;nbsp; for one value (&lt;STRONG&gt;cit&lt;/STRONG&gt;, shown in &lt;STRONG&gt;Bold&lt;/STRONG&gt;) for some events. Any help will be highly appreciated, thank you.&lt;/P&gt;&lt;P&gt;"time_stamp":"2021-08-21 16:27:06 CDT","app_name":"CT-SATCUP","user_type":"TFilter","file_source_cd":"1","TFilterType":"0","ip_addr":"2300:1700:5c08:1030:6d93:7462:b15d:185c","session_id":"k/NJGhc8dU3OtYoRsrJ+pQzDdYE=",&lt;STRONG&gt;"cit":"23235672174&lt;/STRONG&gt;,"request_id":"32as3eee0a-0a31-6214a4e28-7e7fc700-6d792b5b203e","user_id":"cit1ddf82-bf36-40ca-84ae-7964b5680564","return_cd":"00","event_type":"SATCUP"&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"time_stamp":"2021-08-21 16:27:05 CDT","app_name":"CT-SATCUP","user_type":"TFilter","file_source_cd":"1","TFilterType":"0","ip_addr":"2400:1700:5c08:1030:6d93:9462:b15d:185c","session_id":"k/NJGhc8dU3OtYoRsrJ+pQzDdYE=",&lt;STRONG&gt;"cit":"232356756174"&lt;/STRONG&gt;,"request_id":"31as3eee0a-0a31-6214a4e28-7e7fc700-6d792b5b203e","user_id":"cit1ddf82-bf36-40ca-84ae-7964b5680564","return_cd":"01","event_type":"SATCUP"&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"time_stamp":"2021-08-21 16:27:08 CDT","app_name":"CT-SATCUP","user_type":"TFilter","file_source_cd":"4","TFilterType":"0","ip_addr":"2100:1700:5c08:1030:6r93:7462:b15d:185c","session_id":"k/NJGhc8dU3OtYoRsrJ+pQzDdYE=",&lt;STRONG&gt;"cit":"232356756174&lt;/STRONG&gt;,"request_id":"31bs3eee0a-0a31-6214a4e28-7e7fc700-6d792b5b203e","user_id":"cit1ddf82-bf36-40ca-84ae-7964b5680564","return_cd":"01","event_type":"SATCUP"&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 03:53:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-for-Unstructured-Quotation-Pair-delimiter/m-p/567937#M197925</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-09-22T03:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction for Unstructured Quotation/Pair delimiter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-for-Unstructured-Quotation-Pair-delimiter/m-p/567955#M197931</link>
      <description>&lt;P&gt;You can simply look for a field name in quotes and value not containing comma or quotation mark in possible quotes. Something like that&lt;/P&gt;&lt;PRE&gt;"(?&amp;lt;field_name&amp;gt;[^"]+)":"?(&amp;lt;?field_value&amp;gt;[^",]+)"?&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;EDIT: Watch out, there is indeed a typo here.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 10:02:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-for-Unstructured-Quotation-Pair-delimiter/m-p/567955#M197931</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-09-22T10:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction for Unstructured Quotation/Pair delimiter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-for-Unstructured-Quotation-Pair-delimiter/m-p/567965#M197935</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;There is a typo on second capture group;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"(?&amp;lt;field_name&amp;gt;[^"]+)":"?(?&amp;lt;field_value&amp;gt;[^",]+)"?&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 22 Sep 2021 07:08:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-for-Unstructured-Quotation-Pair-delimiter/m-p/567965#M197935</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-09-22T07:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction for Unstructured Quotation/Pair delimiter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-for-Unstructured-Quotation-Pair-delimiter/m-p/567987#M197945</link>
      <description>&lt;P&gt;You're right. I was typing it on my tablet &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Nice catch!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 10:02:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-for-Unstructured-Quotation-Pair-delimiter/m-p/567987#M197945</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-09-22T10:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction for Unstructured Quotation/Pair delimiter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-for-Unstructured-Quotation-Pair-delimiter/m-p/568035#M197962</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you so much for the Regex codes you provided. Two points with this code&lt;/P&gt;&lt;P&gt;1. Field Names and Associated Field Values are coming under different groups&lt;/P&gt;&lt;P&gt;2. All&amp;nbsp;&amp;nbsp;Field Names are coming as "field_ name"&lt;/P&gt;&lt;P&gt;is there anyway we can pick the field_name from the events (i.e. time_stamp, app_name and so on)&amp;nbsp; and put/keep associated field name and its field value together&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again, appreciate your support in these efforts.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 13:16:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-for-Unstructured-Quotation-Pair-delimiter/m-p/568035#M197962</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-09-22T13:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction for Unstructured Quotation/Pair delimiter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-for-Unstructured-Quotation-Pair-delimiter/m-p/568042#M197965</link>
      <description>&lt;P&gt;If you want dynamic field names, you might try something similar to this solution:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Splunk-Search/How-to-extract-values/m-p/461411" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Search/How-to-extract-values/m-p/461411&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 13:46:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-for-Unstructured-Quotation-Pair-delimiter/m-p/568042#M197965</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-09-22T13:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction for Unstructured Quotation/Pair delimiter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-for-Unstructured-Quotation-Pair-delimiter/m-p/568060#M197968</link>
      <description>&lt;P&gt;Thank you again, appreciated. But, just a little confused how I would incorporate this dynamic field names and associated field values selection code under this field extraction option/feature (see below the screenshot). Your support will be appreciated.....Thank you so much!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="malekmo_0-1632319718422.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16108i7079391968752656/image-size/medium?v=v2&amp;amp;px=400" role="button" title="malekmo_0-1632319718422.png" alt="malekmo_0-1632319718422.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;malekmo_0-1632319718422.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 14:09:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-for-Unstructured-Quotation-Pair-delimiter/m-p/568060#M197968</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-09-22T14:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction for Unstructured Quotation/Pair delimiter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-for-Unstructured-Quotation-Pair-delimiter/m-p/568133#M197985</link>
      <description>&lt;P&gt;Ahhh, that's kinda different. The solution I pointed you to was about parsing explicitly in your search. If you want to define such extraction as extracted fields - to be honest, I haven't done it using GUI but I suppose you have to define it using transforms (settings -&amp;gt; fields -&amp;gt; field transformations) with regex containing&lt;/P&gt;&lt;PRE&gt;"(?&amp;lt;_KEY_1&amp;gt;[^"]+)":"?(&amp;lt;?_VAL_1&amp;gt;[^",]+)"&lt;/PRE&gt;&lt;P&gt;And no Format&lt;/P&gt;&lt;P&gt;And then define field extraction using this transformation (change type from "inline" to "uses transformation")&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 19:18:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-for-Unstructured-Quotation-Pair-delimiter/m-p/568133#M197985</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-09-22T19:18:23Z</dc:date>
    </item>
  </channel>
</rss>

