<?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: What are best practices for logging to splunk? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-are-best-practices-for-logging-to-splunk/m-p/703650#M116368</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/273779"&gt;@shanemhartley&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;ingestion in Splunk is usually done using a Technical Add-On , in your case the Splunk_TA_nix (&lt;A href="https://splunkbase.splunk.com/app/833" target="_blank"&gt;https://splunkbase.splunk.com/app/833&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;You have to install this add-on on the Universal Forwarder enabling the input stanzas you need.&lt;/P&gt;&lt;P&gt;If you want to store these logs in a defined index (instead of main), you have also to add to each enabled input stanza the option:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index = &amp;lt;your_index&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Then you have to install this add-on also on your Search Head or your Stand Alone Splunk Server.&lt;/P&gt;&lt;P&gt;In this way you have the logs correctly parsed and usable.&lt;/P&gt;&lt;P&gt;For more infos see at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/Getstartedwithgettingdatain" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/Getstartedwithgettingdatain&lt;/A&gt;&amp;nbsp;and there are also more videos.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Wed, 06 Nov 2024 07:48:23 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2024-11-06T07:48:23Z</dc:date>
    <item>
      <title>What are best practices for logging to splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-are-best-practices-for-logging-to-splunk/m-p/703618#M116362</link>
      <description>&lt;P&gt;We have logs that are written to&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/var/log &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/var/log/audit&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We need to keep these for &lt;STRONG&gt;365 days&lt;/STRONG&gt;, and want to ensure that we are following &lt;STRONG&gt;best practices&lt;/STRONG&gt;, is there a set of configuration settings we can follow to ensure we're following best practices?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ultimately, we want to ensure we have log retention, and that /var/log is not a cluttered mess.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 18:14:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-are-best-practices-for-logging-to-splunk/m-p/703618#M116362</guid>
      <dc:creator>shanemhartley</dc:creator>
      <dc:date>2024-11-05T18:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: What are best practices for logging to splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-are-best-practices-for-logging-to-splunk/m-p/703650#M116368</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/273779"&gt;@shanemhartley&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;ingestion in Splunk is usually done using a Technical Add-On , in your case the Splunk_TA_nix (&lt;A href="https://splunkbase.splunk.com/app/833" target="_blank"&gt;https://splunkbase.splunk.com/app/833&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;You have to install this add-on on the Universal Forwarder enabling the input stanzas you need.&lt;/P&gt;&lt;P&gt;If you want to store these logs in a defined index (instead of main), you have also to add to each enabled input stanza the option:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index = &amp;lt;your_index&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Then you have to install this add-on also on your Search Head or your Stand Alone Splunk Server.&lt;/P&gt;&lt;P&gt;In this way you have the logs correctly parsed and usable.&lt;/P&gt;&lt;P&gt;For more infos see at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/Getstartedwithgettingdatain" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/Getstartedwithgettingdatain&lt;/A&gt;&amp;nbsp;and there are also more videos.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 07:48:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-are-best-practices-for-logging-to-splunk/m-p/703650#M116368</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-11-06T07:48:23Z</dc:date>
    </item>
  </channel>
</rss>

