<?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 Sourcetype Assignment in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-Assignment/m-p/333602#M61670</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;

&lt;P&gt;I have two servers with hostnames H1 &amp;amp; H2, both have the same log file named "/apps/logs/log.log"&lt;/P&gt;

&lt;P&gt;I have set the line breaking based on source file name in my props.conf,&lt;/P&gt;

&lt;P&gt;For ex: &lt;BR /&gt;
[source::///apps/logs/log.log]&lt;/P&gt;

&lt;P&gt;But the log.log available in H1 &amp;amp; H2 are with different time zones.&lt;/P&gt;

&lt;P&gt;Even though I separate sourcetypes for H1 &amp;amp; H2 in inputs.conf, default source file configuration is applied based on props.conf&lt;/P&gt;

&lt;P&gt;How can I overcome this conflict.&lt;/P&gt;

&lt;P&gt;In the example I have just quoted two hosts but in our environment we have 100 such servers.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
BK&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jul 2017 11:44:15 GMT</pubDate>
    <dc:creator>bharathkumarnec</dc:creator>
    <dc:date>2017-07-26T11:44:15Z</dc:date>
    <item>
      <title>Sourcetype Assignment</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-Assignment/m-p/333602#M61670</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;

&lt;P&gt;I have two servers with hostnames H1 &amp;amp; H2, both have the same log file named "/apps/logs/log.log"&lt;/P&gt;

&lt;P&gt;I have set the line breaking based on source file name in my props.conf,&lt;/P&gt;

&lt;P&gt;For ex: &lt;BR /&gt;
[source::///apps/logs/log.log]&lt;/P&gt;

&lt;P&gt;But the log.log available in H1 &amp;amp; H2 are with different time zones.&lt;/P&gt;

&lt;P&gt;Even though I separate sourcetypes for H1 &amp;amp; H2 in inputs.conf, default source file configuration is applied based on props.conf&lt;/P&gt;

&lt;P&gt;How can I overcome this conflict.&lt;/P&gt;

&lt;P&gt;In the example I have just quoted two hosts but in our environment we have 100 such servers.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
BK&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 11:44:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-Assignment/m-p/333602#M61670</guid>
      <dc:creator>bharathkumarnec</dc:creator>
      <dc:date>2017-07-26T11:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sourcetype Assignment</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-Assignment/m-p/333603#M61671</link>
      <description>&lt;P&gt;@bharathkumarnec&lt;BR /&gt;
you can override/modify the timezone  in props.conf like below&lt;/P&gt;

&lt;P&gt;[source::/mnt/ca/...]&lt;BR /&gt;
TZ = US/Easteren&lt;/P&gt;

&lt;P&gt;For more information go through below link,&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/6.6.0/Data/Applytimezoneoffsetstotimestamps"&gt;http://docs.splunk.com/Documentation/SplunkCloud/6.6.0/Data/Applytimezoneoffsetstotimestamps&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I hope it helps.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 19:15:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-Assignment/m-p/333603#M61671</guid>
      <dc:creator>sbbadri</dc:creator>
      <dc:date>2017-07-26T19:15:22Z</dc:date>
    </item>
  </channel>
</rss>

