<?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: Splunk cannot find correct source log in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-cannot-find-correct-source-log/m-p/35331#M6416</link>
    <description>&lt;P&gt;For the sourcetype which contains these events, you'll want to create a props.conf stanza that uses a regular expression to extract this field, but with a different name.  A possible example is below.&lt;/P&gt;

&lt;PRE&gt;
[my_sourcetype]
EXTRACT-mysource = source\s+\:\s+(?&amp;lt;source_num&amp;gt;\d+)
&lt;/PRE&gt;

&lt;P&gt;In this example, that integer would be captured in a field named source_num.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Apr 2012 13:37:54 GMT</pubDate>
    <dc:creator>sowings</dc:creator>
    <dc:date>2012-04-25T13:37:54Z</dc:date>
    <item>
      <title>Splunk cannot find correct source log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-cannot-find-correct-source-log/m-p/35330#M6415</link>
      <description>&lt;P&gt;I have a set of log events that contain the following Key value pair "source" : "integer".&lt;BR /&gt;
Therefore, splunk is reporting this field named source as source log. Example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source (categorical)
Appears in 100% of results
Show only events with this field
Charts
Top values by timeTop values overall

Top 10 values   #   %    
4111    506 50,600% 
18324   506 50,600% 
4110    412 41,200% 
16141   412 41,200% 
7641    406 40,600% 
10002   50  5,000%  
10012   50  5,000%  
15152   50  5,000%  
10003   32  3,200%  
4115    20  2,000%  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How can I correct this issue?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Lp&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2012 13:11:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-cannot-find-correct-source-log/m-p/35330#M6415</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2012-04-25T13:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk cannot find correct source log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-cannot-find-correct-source-log/m-p/35331#M6416</link>
      <description>&lt;P&gt;For the sourcetype which contains these events, you'll want to create a props.conf stanza that uses a regular expression to extract this field, but with a different name.  A possible example is below.&lt;/P&gt;

&lt;PRE&gt;
[my_sourcetype]
EXTRACT-mysource = source\s+\:\s+(?&amp;lt;source_num&amp;gt;\d+)
&lt;/PRE&gt;

&lt;P&gt;In this example, that integer would be captured in a field named source_num.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2012 13:37:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-cannot-find-correct-source-log/m-p/35331#M6416</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2012-04-25T13:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk cannot find correct source log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-cannot-find-correct-source-log/m-p/35332#M6417</link>
      <description>&lt;P&gt;That is the first thing I did but it did not work.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2012 13:48:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-cannot-find-correct-source-log/m-p/35332#M6417</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2012-04-25T13:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk cannot find correct source log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-cannot-find-correct-source-log/m-p/35333#M6418</link>
      <description>&lt;P&gt;Can you provide some sample log events?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2012 13:50:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-cannot-find-correct-source-log/m-p/35333#M6418</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2012-04-25T13:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk cannot find correct source log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-cannot-find-correct-source-log/m-p/35334#M6419</link>
      <description>&lt;P&gt;sorry, don't really understand. Does splunk rename your data to a new field name called source_log?&lt;/P&gt;

&lt;P&gt;Or does the 'real' source data, e.g. '/var/log/secure' get overwritten with your values?&lt;/P&gt;

&lt;P&gt;/k&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2012 13:56:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-cannot-find-correct-source-log/m-p/35334#M6419</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-04-25T13:56:44Z</dc:date>
    </item>
  </channel>
</rss>

