<?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 Server Local OS Log Parsing in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Server-Local-OS-Log-Parsing/m-p/590768#M103482</link>
    <description>&lt;P&gt;If those are parse-time configurations, then I believe they take place on the first splunk enterprise&amp;nbsp; server.&amp;nbsp; In other words, your heavy forwarder and search heads handle that phase of event processing.&amp;nbsp; So you can deploy the props/transforms there as well.&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F" target="_blank"&gt;https://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Mar 2022 23:29:13 GMT</pubDate>
    <dc:creator>maciep</dc:creator>
    <dc:date>2022-03-24T23:29:13Z</dc:date>
    <item>
      <title>Splunk Server Local OS Log Parsing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Server-Local-OS-Log-Parsing/m-p/590540#M103446</link>
      <description>&lt;P&gt;We have a large number of hosts logging to Splunk via the Universal Forwarder. We also have the splunk servers including search heads, heavy forwarders and indexers logging their local OS logs to splunk as well. All systems are linux OS. We use a custom app to collect the local linux OS logs in /var/log. All hosts running the Universal Forwarder and the search heads and the heavy forwarders get the app from the deployment server so they all have the identical app to collect the linux os logs. Recently we wanted to divide up the indexes the logs are sent to based on processes. In our custom app on the indexers we created an entry in props and the transforms and deployed it. We then used the deployment server and pushed the new sourcetype out to all hosts. All of the hosts logs coming from the UF's worked fine and the indexers began to divide up the linux OS logs from them as expected. However the splunk search heads and heavy forwarders local linux OS logs continued to go to the old index even though their sourcetype did change to reflect the new sourcetype we created and deployed via the deployment server.&lt;/P&gt;
&lt;P&gt;Question: why does this config work fine for the hosts using the UF but not the splunk servers themselves if they all have the same app installed from the same deployment server and are all logging to the same indexer?&lt;/P&gt;
&lt;P&gt;props.conf&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[company_linux_messages_syslog]
pulldown_type = 1
MAX_TIMESTAMP_LOOKAHEAD = 32
TIME_FORMAT = %b %d %H:%M:%S
TRANSFORMS-newindex = company_syslog_catchall, company_syslog, syslog-host
REPORT-syslog = syslog-extractions
SHOULD_LINEMERGE = False
category = Operating System
description = Format found within the Linux log file /var/log/messages

&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;transforms.conf&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[company_syslog]
DEST_KEY =_MetaData:Index
REGEX = ^[A-Z][a-z]{2}\s\d{1,2}\s\d{2}:\d{2}:\d{2}\s.*?\s*(docker|tkproxy|auditd|dockerd)\[
FORMAT = syslog

[company_syslog_catchall]
DEST_KEY =_MetaData:Index
REGEX = .
FORMAT = syslog_catchall&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 25 Mar 2022 12:43:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Server-Local-OS-Log-Parsing/m-p/590540#M103446</guid>
      <dc:creator>jharbrecht</dc:creator>
      <dc:date>2022-03-25T12:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Server Local OS Log Parsing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Server-Local-OS-Log-Parsing/m-p/590768#M103482</link>
      <description>&lt;P&gt;If those are parse-time configurations, then I believe they take place on the first splunk enterprise&amp;nbsp; server.&amp;nbsp; In other words, your heavy forwarder and search heads handle that phase of event processing.&amp;nbsp; So you can deploy the props/transforms there as well.&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F" target="_blank"&gt;https://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 23:29:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Server-Local-OS-Log-Parsing/m-p/590768#M103482</guid>
      <dc:creator>maciep</dc:creator>
      <dc:date>2022-03-24T23:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Server Local OS Log Parsing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Server-Local-OS-Log-Parsing/m-p/590818#M103490</link>
      <description>&lt;P&gt;One quick question - why don't you make sure that all those daemons log to separate files? You'd be able to set up different inputs for them. That's usually more convenient.&lt;/P&gt;&lt;P&gt;Yes, it requires some reconfiguration on the daemons' side.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 08:39:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Server-Local-OS-Log-Parsing/m-p/590818#M103490</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-03-25T08:39:27Z</dc:date>
    </item>
  </channel>
</rss>

