<?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 Help extracting fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Help-extracting-fields/m-p/81089#M20493</link>
    <description>&lt;P&gt;I have a syslog input that has its field values in the following format and splunk isn't picking it up by default.  How could I get splunk to correctly sourcetype this type:&lt;/P&gt;

&lt;P&gt;"class":"sessionevent", "hostname":"bob"&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jan 2013 16:46:20 GMT</pubDate>
    <dc:creator>rmcdougal</dc:creator>
    <dc:date>2013-01-08T16:46:20Z</dc:date>
    <item>
      <title>Help extracting fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-extracting-fields/m-p/81089#M20493</link>
      <description>&lt;P&gt;I have a syslog input that has its field values in the following format and splunk isn't picking it up by default.  How could I get splunk to correctly sourcetype this type:&lt;/P&gt;

&lt;P&gt;"class":"sessionevent", "hostname":"bob"&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2013 16:46:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-extracting-fields/m-p/81089#M20493</guid>
      <dc:creator>rmcdougal</dc:creator>
      <dc:date>2013-01-08T16:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help extracting fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-extracting-fields/m-p/81090#M20494</link>
      <description>&lt;P&gt;What is the data coming from?   You could use the interactive field extractor in the UI to get Splunk to generate the regex for you.  &lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/view/SP-CAAADUY"&gt;http://www.splunk.com/view/SP-CAAADUY&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2013 16:57:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-extracting-fields/m-p/81090#M20494</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2013-01-08T16:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help extracting fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-extracting-fields/m-p/81091#M20495</link>
      <description>&lt;P&gt;You can define the sourcetype of your events in the appropriate inputs.conf file for the syslog monitoring stanza you have setup with something similar to the following.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcp://syslog.corp.company.net:514]
sourcetype = syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is a link to the Splunk documentation for further information:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Configureyourinputs#A_word_about_source_types" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Configureyourinputs#A_word_about_source_types&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:03:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-extracting-fields/m-p/81091#M20495</guid>
      <dc:creator>Rob</dc:creator>
      <dc:date>2020-09-28T13:03:54Z</dc:date>
    </item>
  </channel>
</rss>

