<?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: props.conf and syslog in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-and-syslog/m-p/79989#M16460</link>
    <description>&lt;P&gt;see the following link for an example of using transforms on syslog data:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/60972/split-syslog-input-into-multiple-indexes"&gt;http://splunk-base.splunk.com/answers/60972/split-syslog-input-into-multiple-indexes&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jan 2013 20:13:09 GMT</pubDate>
    <dc:creator>emiller42</dc:creator>
    <dc:date>2013-01-07T20:13:09Z</dc:date>
    <item>
      <title>props.conf and syslog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-and-syslog/m-p/79985#M16456</link>
      <description>&lt;P&gt;I have an entry in props.conf for TZ conversion i.e:&lt;/P&gt;

&lt;P&gt;[host::SOMEHOST]&lt;BR /&gt;
TZ = UTC&lt;/P&gt;

&lt;P&gt;If the host is running the universal forwarder the splunk indexer with handle the conversion and display entry using local time. &lt;/P&gt;

&lt;P&gt;If I forward logs from host via syslog the indexer does not do the time conversion.&lt;/P&gt;

&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2013 18:40:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-and-syslog/m-p/79985#M16456</guid>
      <dc:creator>trumpjk</dc:creator>
      <dc:date>2013-01-07T18:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf and syslog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-and-syslog/m-p/79986#M16457</link>
      <description>&lt;P&gt;So I'm interpreting this as two separate configurations:&lt;/P&gt;

&lt;P&gt;Configuration 1:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt; Forwarder on external host, forwarding to Splunk indexer.&lt;/LI&gt;
&lt;LI&gt; Splunk indexer has props.conf stanza for that host name with a TZ setting.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Configuration 2&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Syslog on external host sending lines to indexer.&lt;/LI&gt;
&lt;LI&gt;Indexer is monitoring syslog locally to index lines.&lt;/LI&gt;
&lt;LI&gt;Same props.conf stanza as above.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;In the second configuration, the props.conf stanza won't apply as it's specifying the remote host, while the syslog data is being monitored locally (and thus would have the indexer as the host)&lt;/P&gt;

&lt;P&gt;In the second scenario, I would recommend using sourcetype or source stanzas to apply the TZ setting, not host.  As setting it for the indexer would apply the TZ setting to everything indexed locally. (Including _internal logs)  Instead, create a source stanza or sourcetype stanza.  (Whichever is most appropriate) and use that.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::syslog]
TZ = UTC
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;if your source name is different, then change accordingly.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2013 19:45:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-and-syslog/m-p/79986#M16457</guid>
      <dc:creator>emiller42</dc:creator>
      <dc:date>2013-01-07T19:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf and syslog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-and-syslog/m-p/79987#M16458</link>
      <description>&lt;P&gt;To clarify: I edited the props.conf on the indexer. The remote host(s) is forwarding syslog to indexer via syslog-ng. Indexer is receiving logs. I have over 200 systems forwarding via syslog and not all are using same TZ. SOme are EST and some are GMT&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2013 19:51:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-and-syslog/m-p/79987#M16458</guid>
      <dc:creator>trumpjk</dc:creator>
      <dc:date>2013-01-07T19:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf and syslog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-and-syslog/m-p/79988#M16459</link>
      <description>&lt;P&gt;That makes things more complicated.  You're going to want to use a transform to get the appropriate host values out of the individual log lines, then host:: stanzas with the relevant TZ settings.  However, I'm not sure if this can be done in one props.conf, or if a heavy forwarder is needed.  (HF does the transform portion before forwarding to the indexer)&lt;/P&gt;

&lt;P&gt;Can't syslog-ng include timezone in the timestamp of the logs?  That would take care of things too.  (Although that might not be something you control)&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2013 20:12:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-and-syslog/m-p/79988#M16459</guid>
      <dc:creator>emiller42</dc:creator>
      <dc:date>2013-01-07T20:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf and syslog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-and-syslog/m-p/79989#M16460</link>
      <description>&lt;P&gt;see the following link for an example of using transforms on syslog data:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/60972/split-syslog-input-into-multiple-indexes"&gt;http://splunk-base.splunk.com/answers/60972/split-syslog-input-into-multiple-indexes&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2013 20:13:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-and-syslog/m-p/79989#M16460</guid>
      <dc:creator>emiller42</dc:creator>
      <dc:date>2013-01-07T20:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf and syslog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-and-syslog/m-p/79990#M16461</link>
      <description>&lt;P&gt;I was able to add a template to the syslog-ng.conf file to modify date/time stamp to include timezone offset. This solved my problem. Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2013 16:16:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-and-syslog/m-p/79990#M16461</guid>
      <dc:creator>trumpjk</dc:creator>
      <dc:date>2013-01-08T16:16:12Z</dc:date>
    </item>
  </channel>
</rss>

