<?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: how to auto extract fields from this log in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/How-to-auto-extract-fields-from-this-log/m-p/646926#M9538</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/253542"&gt;@caiosalonso&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;as&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249811"&gt;@abhisplunk1&lt;/a&gt;&amp;nbsp;said, this seems to be a json file, so you could use the _json sourcetype.&lt;/P&gt;&lt;P&gt;otherwise, you could add the option:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;INDEXED_EXTRACTIONS = json&lt;/LI-CODE&gt;&lt;P&gt;to your sourcetype in props.conf.&lt;/P&gt;&lt;P&gt;You can find more information at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/Aboutindexedfieldextraction" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/Aboutindexedfieldextraction&lt;/A&gt;&amp;nbsp;or&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At least, you could try to use the spath command (&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Spath" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Spath&lt;/A&gt;) in search.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jun 2023 07:32:18 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2023-06-14T07:32:18Z</dc:date>
    <item>
      <title>How to auto extract fields from this log?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-auto-extract-fields-from-this-log/m-p/646865#M9536</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hi this is the log&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;{"&lt;/SPAN&gt;&lt;SPAN class=""&gt;time&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;2023-06-13&lt;/SPAN&gt; &lt;SPAN class=""&gt;20:35:02.046&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;SPAN class=""&gt;00:00&lt;/SPAN&gt;&lt;SPAN&gt;", "&lt;/SPAN&gt;&lt;SPAN class=""&gt;level&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;Information&lt;/SPAN&gt;&lt;SPAN&gt;", "&lt;/SPAN&gt;&lt;SPAN class=""&gt;client&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;Mozilla/5.0&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN class=""&gt;Windows&lt;/SPAN&gt; &lt;SPAN class=""&gt;NT&lt;/SPAN&gt; &lt;SPAN class=""&gt;10.0&lt;/SPAN&gt;&lt;SPAN&gt;; &lt;/SPAN&gt;&lt;SPAN class=""&gt;Win64&lt;/SPAN&gt;&lt;SPAN&gt;; &lt;/SPAN&gt;&lt;SPAN class=""&gt;x64&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN class=""&gt;AppleWebKit/537.36&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN class=""&gt;KHTML&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;like&lt;/SPAN&gt; &lt;SPAN class=""&gt;Gecko&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN class=""&gt;Chrome/123.12.1.0&lt;/SPAN&gt;&lt;SPAN class=""&gt;Safari/537.36&lt;/SPAN&gt; &lt;SPAN class=""&gt;Edg/xx.x.xx.x.x&lt;/SPAN&gt;&lt;SPAN&gt;", "&lt;/SPAN&gt;&lt;SPAN class=""&gt;environment&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"ded&lt;/SPAN&gt;&lt;SPAN class=""&gt;uction&lt;/SPAN&gt;&lt;SPAN&gt;", "&lt;/SPAN&gt;&lt;SPAN class=""&gt;user&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;CORP\NBSWWUK&lt;/SPAN&gt;&lt;SPAN&gt;", "&lt;/SPAN&gt;&lt;SPAN class=""&gt;clientIp&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"xxx.xxx.xxx.xx&lt;/SPAN&gt;&lt;SPAN&gt;", "&lt;/SPAN&gt;&lt;SPAN class=""&gt;processId&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;24560&lt;/SPAN&gt;&lt;SPAN&gt;", "&lt;/SPAN&gt;&lt;SPAN class=""&gt;processName&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;w3wp&lt;/SPAN&gt;&lt;SPAN&gt;", "&lt;/SPAN&gt;&lt;SPAN class=""&gt;machine&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"mymachine&lt;/SPAN&gt;&lt;SPAN&gt;", "&lt;/SPAN&gt;&lt;SPAN class=""&gt;version&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;message&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;log&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;requestURL&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;/request/v1/Application/getorganizations&lt;/SPAN&gt;&lt;SPAN&gt;", "&lt;/SPAN&gt;&lt;SPAN class=""&gt;exception&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;requestBody&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;requestParam&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;exceptionStack&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;""}&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 17:26:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-auto-extract-fields-from-this-log/m-p/646865#M9536</guid>
      <dc:creator>abhisplunk1</dc:creator>
      <dc:date>2023-06-15T17:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to auto extract fields from this log</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-auto-extract-fields-from-this-log/m-p/646870#M9537</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This seems to be a valid json event. Did you already send this log record to Splunk? Which sourcetype settings are you using?&lt;/P&gt;&lt;P&gt;I guess that the default "_json" sourcetype should parse this log and extract fields correctly.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 11:45:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-auto-extract-fields-from-this-log/m-p/646870#M9537</guid>
      <dc:creator>caiosalonso</dc:creator>
      <dc:date>2023-06-14T11:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to auto extract fields from this log</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-auto-extract-fields-from-this-log/m-p/646926#M9538</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/253542"&gt;@caiosalonso&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;as&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249811"&gt;@abhisplunk1&lt;/a&gt;&amp;nbsp;said, this seems to be a json file, so you could use the _json sourcetype.&lt;/P&gt;&lt;P&gt;otherwise, you could add the option:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;INDEXED_EXTRACTIONS = json&lt;/LI-CODE&gt;&lt;P&gt;to your sourcetype in props.conf.&lt;/P&gt;&lt;P&gt;You can find more information at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/Aboutindexedfieldextraction" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/Aboutindexedfieldextraction&lt;/A&gt;&amp;nbsp;or&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At least, you could try to use the spath command (&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Spath" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Spath&lt;/A&gt;) in search.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 07:32:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-auto-extract-fields-from-this-log/m-p/646926#M9538</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-06-14T07:32:18Z</dc:date>
    </item>
  </channel>
</rss>

