<?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: JSON auto extraction not occuring for a single field, `src` but occurring for all other fields in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/JSON-auto-extraction-not-occuring-for-a-single-field-src-but/m-p/574800#M8588</link>
    <description>&lt;P&gt;Are you sure it's a well-formed json?&lt;/P&gt;&lt;P&gt;The value for "suppress_for" field doesn't seem right.&lt;/P&gt;</description>
    <pubDate>Sat, 13 Nov 2021 06:39:13 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2021-11-13T06:39:13Z</dc:date>
    <item>
      <title>JSON auto extraction not occuring for a single field, `src` but occurring for all other fields</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/JSON-auto-extraction-not-occuring-for-a-single-field-src-but/m-p/574796#M8587</link>
      <description>&lt;P&gt;Me and another engineer were taking a look at `index=corelight sourcetype=corelight_notice signature="Scan::*"`.&lt;/P&gt;&lt;P&gt;We noticed that `src` was not properly parsed given `kv_mode=auto`.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We've attempted the follwing four course of action:&lt;BR /&gt;1. performed an EXTRACT on _raw as : "src":"(?&amp;lt;src&amp;gt;[^"]+)",&lt;BR /&gt;2. performed a REPORT as: corelight_notice_src&lt;BR /&gt;* with a transform as `"src":"(?&amp;lt;src&amp;gt;[^"]+)",` on _raq&lt;BR /&gt;3. perform an EXTRACT on _raw as : \"src\":\"(?&amp;lt;src&amp;gt;[^\"]+)\",&lt;BR /&gt;4. * performed a REPORT as: corelight_notice_src&lt;BR /&gt;* with a transform as `* \"src\":\"(?&amp;lt;src&amp;gt;[^\"]+)\",`&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Note that performing the `| rex field=_raw "\"src\":\"(?&amp;lt;src&amp;gt;[^\"]+)\","` at search time works fine.&lt;/P&gt;&lt;P&gt;We also attempted with `AUTO_KV_JSON = false` with the above tests 3 and 4, which failed.&lt;/P&gt;&lt;P&gt;We also attempted with `AUTO_KV_JSON = false` and `KV_MODE = none` with the above tests 3 and 4, which failed&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Note that the following works:&lt;/P&gt;&lt;P&gt;```&lt;BR /&gt;index=corelight sourcetype=corelight_notice signature="Scan::*"&lt;BR /&gt;| spath output=src path=src&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;When AUTO_KV_JSON=true, then most JSON fields are extracted (except for src).&lt;/P&gt;&lt;P&gt;When AUTO_KV_JSON=true and KV_MODE=json, then most JSON fields are extracted (except for src).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on what the problem is?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{"&lt;/SPAN&gt;&lt;SPAN class=""&gt;_path&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;notice&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;_system_name&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;zEEK01&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;_write_ts&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;2021-11-12T23:22:24.722517Z&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;ts&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;2021-11-12T23:22:24.722517Z&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;note&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;Scan::Address_Scan&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;msg&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;kk:&lt;/SPAN&gt; &lt;SPAN class=""&gt;192.168.0.1&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class=""&gt;scanned&lt;/SPAN&gt; &lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;least&lt;/SPAN&gt; &lt;SPAN class=""&gt;27&lt;/SPAN&gt; &lt;SPAN class=""&gt;unique&lt;/SPAN&gt; &lt;SPAN class=""&gt;hosts&lt;/SPAN&gt; &lt;SPAN class=""&gt;on&lt;/SPAN&gt; &lt;SPAN class=""&gt;ports&lt;/SPAN&gt; &lt;SPAN class=""&gt;443/tcp&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;80/tcp&lt;/SPAN&gt; &lt;SPAN class=""&gt;in&lt;/SPAN&gt; &lt;SPAN class=""&gt;42m29s&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;sub&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;local&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;src&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;192.168.0.1&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;peer_descr&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;proxy-01&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;actions&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;["&lt;/SPAN&gt;&lt;SPAN class=""&gt;Notice::ACTION_LOG&lt;/SPAN&gt;&lt;SPAN&gt;"],"&lt;/SPAN&gt;&lt;SPAN class=""&gt;suppress_for&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:1&lt;/SPAN&gt;&lt;SPAN&gt;,"&lt;/SPAN&gt;&lt;SPAN class=""&gt;severity.level&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:3&lt;/SPAN&gt;&lt;SPAN&gt;,"&lt;/SPAN&gt;&lt;SPAN class=""&gt;severity.name&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;error&lt;/SPAN&gt;&lt;SPAN&gt;"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Sat, 13 Nov 2021 11:04:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/JSON-auto-extraction-not-occuring-for-a-single-field-src-but/m-p/574796#M8587</guid>
      <dc:creator>mbrownoutside</dc:creator>
      <dc:date>2021-11-13T11:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: JSON auto extraction not occuring for a single field, `src` but occurring for all other fields</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/JSON-auto-extraction-not-occuring-for-a-single-field-src-but/m-p/574800#M8588</link>
      <description>&lt;P&gt;Are you sure it's a well-formed json?&lt;/P&gt;&lt;P&gt;The value for "suppress_for" field doesn't seem right.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Nov 2021 06:39:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/JSON-auto-extraction-not-occuring-for-a-single-field-src-but/m-p/574800#M8588</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-11-13T06:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: JSON auto extraction not occuring for a single field, `src` but occurring for all other fields</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/JSON-auto-extraction-not-occuring-for-a-single-field-src-but/m-p/574809#M8589</link>
      <description>&lt;P&gt;I apologize.&amp;nbsp; I meant to use "N" as a replacement for a number, but didn't test the JSON.&lt;/P&gt;&lt;P&gt;This is usually a number, and I have corrected the above.&lt;/P&gt;&lt;P&gt;This isn't it, unfortunately.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Nov 2021 11:05:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/JSON-auto-extraction-not-occuring-for-a-single-field-src-but/m-p/574809#M8589</guid>
      <dc:creator>mbrownoutside</dc:creator>
      <dc:date>2021-11-13T11:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: JSON auto extraction not occuring for a single field, `src` but occurring for all other fields</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/JSON-auto-extraction-not-occuring-for-a-single-field-src-but/m-p/574817#M8590</link>
      <description>&lt;P&gt;Well, what can I say. "Works for me".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PickleRick_0-1636812084573.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16847iCB6BA66955803D15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PickleRick_0-1636812084573.png" alt="PickleRick_0-1636812084573.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PickleRick_1-1636812261092.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16848i80A9B2BE716B4A9B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PickleRick_1-1636812261092.png" alt="PickleRick_1-1636812261092.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But this is my home instance of splunk free so I don't have multiple users and access rights. Are you sure nothing overwrites/blocks search-time parsing settings for your user?&lt;/P&gt;</description>
      <pubDate>Sat, 13 Nov 2021 14:05:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/JSON-auto-extraction-not-occuring-for-a-single-field-src-but/m-p/574817#M8590</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-11-13T14:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: JSON auto extraction not occuring for a single field, `src` but occurring for all other fields</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/JSON-auto-extraction-not-occuring-for-a-single-field-src-but/m-p/575325#M8595</link>
      <description>&lt;P&gt;Yes `AUTO_KV_JSON` being set to true then this should work without issue.&lt;/P&gt;&lt;P&gt;Very abnormal to me as `rex` is working to hit and extract via a named group match.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 20:19:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/JSON-auto-extraction-not-occuring-for-a-single-field-src-but/m-p/575325#M8595</guid>
      <dc:creator>mbrownoutside</dc:creator>
      <dc:date>2021-11-17T20:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: JSON auto extraction not occuring for a single field, `src` but occurring for all other fields</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/JSON-auto-extraction-not-occuring-for-a-single-field-src-but/m-p/575397#M8596</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/202000"&gt;@mbrownoutside&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I see FIELDALIAS for src on&amp;nbsp;TA-CorelightForSplunk props.conf . It is trying to alias&amp;nbsp;id.orig_h AS src.&lt;/P&gt;&lt;P&gt;Could you please try deleting this FIELDALIAS to test? id.orig_h null field may be overwriting the src field as null.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 08:56:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/JSON-auto-extraction-not-occuring-for-a-single-field-src-but/m-p/575397#M8596</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-11-18T08:56:04Z</dc:date>
    </item>
  </channel>
</rss>

