<?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 Parsing issue in distributed Environment in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Parsing-issue-in-distributed-Environment/m-p/712327#M117643</link>
    <description>&lt;P&gt;Hello Team,parsing issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have built a distributed Splunk lab using a trial license. The lab consists of three indexers, one cluster manager, one search head, one instance serving as the Monitoring Console (MC), Deployment Server (DS), and License Manager (LM), along with two Universal Forwarders.&lt;/P&gt;&lt;P&gt;The forwarder is monitoring the /opt/log/routerlog directory, where I have placed two log files: &lt;STRONG&gt;cisco_ironport_web.log and cisco_ironport_mail.log&lt;/STRONG&gt;. The logs are successfully forwarded to the indexers and then to the search head.&lt;/P&gt;&lt;P&gt;However, log parsing is not happening as expected. I have applied the same configuration of props.conf and transforms.conf on both the indexer cluster and the search head.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;props.conf and transforms.conf file paths :&lt;/P&gt;&lt;P&gt;indexer path :&amp;nbsp;/opt/splunk/etc/peer-apps/_cluster/local&lt;/P&gt;&lt;P&gt;Search head&amp;nbsp; path :&amp;nbsp;/opt/splunk/etc/apps/search/local&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;configuration of props.conf and transforms.conf :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;transforms.conf :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[extract_fields]&lt;/P&gt;&lt;P&gt;REGEX = ^(?P&amp;lt;timestamp&amp;gt;\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2})\s+(?P&amp;lt;src_ip&amp;gt;\d+\.\d+\.\d+\.\d+)\s+(?P&amp;lt;email&amp;gt;\S+@\S+)\s+(?P&amp;lt;domain&amp;gt;\S+)\s+(?P&amp;lt;url&amp;gt;\S+)&lt;/P&gt;&lt;P&gt;FORMAT = timestamp::$1 src_ip::$2 email::$3 domain::$4 &lt;A href="https://community.splunk.com/:$5" target="_blank" rel="noopener"&gt;url::$5&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;props.conf :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[custom_logs]&lt;/P&gt;&lt;P&gt;SHOULD_LINEMERGE = false&lt;/P&gt;&lt;P&gt;TIME_PREFIX = ^&lt;/P&gt;&lt;P&gt;TIME_FORMAT = %Y-%m-%d %H:%M:%S&lt;/P&gt;&lt;P&gt;MAX_TIMESTAMP_LOOKAHEAD = 19&lt;/P&gt;&lt;P&gt;TRANSFORMS-extract_fields = extract_fields&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Feb 2025 05:50:17 GMT</pubDate>
    <dc:creator>Namdev</dc:creator>
    <dc:date>2025-02-24T05:50:17Z</dc:date>
    <item>
      <title>Parsing issue in distributed Environment</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Parsing-issue-in-distributed-Environment/m-p/712327#M117643</link>
      <description>&lt;P&gt;Hello Team,parsing issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have built a distributed Splunk lab using a trial license. The lab consists of three indexers, one cluster manager, one search head, one instance serving as the Monitoring Console (MC), Deployment Server (DS), and License Manager (LM), along with two Universal Forwarders.&lt;/P&gt;&lt;P&gt;The forwarder is monitoring the /opt/log/routerlog directory, where I have placed two log files: &lt;STRONG&gt;cisco_ironport_web.log and cisco_ironport_mail.log&lt;/STRONG&gt;. The logs are successfully forwarded to the indexers and then to the search head.&lt;/P&gt;&lt;P&gt;However, log parsing is not happening as expected. I have applied the same configuration of props.conf and transforms.conf on both the indexer cluster and the search head.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;props.conf and transforms.conf file paths :&lt;/P&gt;&lt;P&gt;indexer path :&amp;nbsp;/opt/splunk/etc/peer-apps/_cluster/local&lt;/P&gt;&lt;P&gt;Search head&amp;nbsp; path :&amp;nbsp;/opt/splunk/etc/apps/search/local&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;configuration of props.conf and transforms.conf :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;transforms.conf :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[extract_fields]&lt;/P&gt;&lt;P&gt;REGEX = ^(?P&amp;lt;timestamp&amp;gt;\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2})\s+(?P&amp;lt;src_ip&amp;gt;\d+\.\d+\.\d+\.\d+)\s+(?P&amp;lt;email&amp;gt;\S+@\S+)\s+(?P&amp;lt;domain&amp;gt;\S+)\s+(?P&amp;lt;url&amp;gt;\S+)&lt;/P&gt;&lt;P&gt;FORMAT = timestamp::$1 src_ip::$2 email::$3 domain::$4 &lt;A href="https://community.splunk.com/:$5" target="_blank" rel="noopener"&gt;url::$5&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;props.conf :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[custom_logs]&lt;/P&gt;&lt;P&gt;SHOULD_LINEMERGE = false&lt;/P&gt;&lt;P&gt;TIME_PREFIX = ^&lt;/P&gt;&lt;P&gt;TIME_FORMAT = %Y-%m-%d %H:%M:%S&lt;/P&gt;&lt;P&gt;MAX_TIMESTAMP_LOOKAHEAD = 19&lt;/P&gt;&lt;P&gt;TRANSFORMS-extract_fields = extract_fields&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 05:50:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Parsing-issue-in-distributed-Environment/m-p/712327#M117643</guid>
      <dc:creator>Namdev</dc:creator>
      <dc:date>2025-02-24T05:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing issue in distributed Environment</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Parsing-issue-in-distributed-Environment/m-p/712329#M117644</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/257356"&gt;@Namdev&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you deploy the props.conf and transforms.conf files through the cluster manager? You need to create an app on the cluster manager under /opt/splunk/etc/master-apps/ or /opt/splunk/etc/manager-apps/. Once the app is deployed, it should be propagated to the indexers, appearing under /opt/splunk/etc/peer-apps/ or /opt/splunk/etc/slave-apps/. Please verify if you have correctly created and deployed the app containing the props.conf and transforms.conf configurations.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.4.0/Indexer/Updatepeerconfigurations" target="_blank" rel="noopener"&gt;Update common peer configurations and apps - Splunk Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 06:39:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Parsing-issue-in-distributed-Environment/m-p/712329#M117644</guid>
      <dc:creator>kiran_panchavat</dc:creator>
      <dc:date>2025-02-24T06:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing issue in distributed Environment</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Parsing-issue-in-distributed-Environment/m-p/712331#M117645</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/257356"&gt;@Namdev&lt;/a&gt;&lt;/P&gt;&lt;P&gt;I suggest starting with a standalone test instance. Create your props.conf and transforms.conf files in either the /opt/splunk/etc/system/local or app/local directory, then restart the Splunk instance. After that, open the web interface of the same instance, navigate to the "Add Data" option, and upload your sample log file. Apply your custom sourcetype, "custom_logs," and verify if it's working as expected. If everything looks good, proceed to update the same configuration in the cluster using the cluster master.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 06:43:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Parsing-issue-in-distributed-Environment/m-p/712331#M117645</guid>
      <dc:creator>kiran_panchavat</dc:creator>
      <dc:date>2025-02-24T06:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing issue in distributed Environment</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Parsing-issue-in-distributed-Environment/m-p/712333#M117646</link>
      <description>&lt;P&gt;Yes, I&amp;nbsp; tried using the app option also checked with the _cluster option where I placed the props.conf and transforms.conf files, and distributed them among the peers.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 06:58:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Parsing-issue-in-distributed-Environment/m-p/712333#M117646</guid>
      <dc:creator>Namdev</dc:creator>
      <dc:date>2025-02-24T06:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing issue in distributed Environment</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Parsing-issue-in-distributed-Environment/m-p/712334#M117647</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/257356"&gt;@Namdev&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you complete the following steps?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Copy the app to the $SPLUNK_HOME/etc/manager-apps directory on the cluster master node.&lt;/LI&gt;&lt;LI&gt;Push the app from the cluster master to the peer nodes by running the command:&lt;PRE&gt;/opt/splunk/bin/splunk apply cluster-bundle&lt;/PRE&gt;This updates the cluster configurations on the peer nodes.&lt;/LI&gt;&lt;LI&gt;Verify on the indexers that the app is present in the /opt/splunk/etc/peer-apps directory.&lt;/LI&gt;&lt;LI&gt;If the app is not visible, refer to the official documentation for detailed instructions on how to push the app from the cluster master.&amp;nbsp; &lt;A href="https://docs.splunk.com/Documentation/Splunk/9.4.0/Indexer/Manageappdeployment" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/9.4.0/Indexer/Manageappdeployment&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 24 Feb 2025 07:04:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Parsing-issue-in-distributed-Environment/m-p/712334#M117647</guid>
      <dc:creator>kiran_panchavat</dc:creator>
      <dc:date>2025-02-24T07:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing issue in distributed Environment</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Parsing-issue-in-distributed-Environment/m-p/740601#M117736</link>
      <description>&lt;P&gt;I have tried this option, no luck. Can we have a call to discuss this ?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 15:37:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Parsing-issue-in-distributed-Environment/m-p/740601#M117736</guid>
      <dc:creator>Namdev</dc:creator>
      <dc:date>2025-03-03T15:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing issue in distributed Environment</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Parsing-issue-in-distributed-Environment/m-p/740640#M117739</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;peer-apps are place where MN will deploy those apps. It’s not used on MN. There you should use manager-apps instead of it. There on your lab _cluster is ok for testing, but for any real environment you should use separate apps.&amp;nbsp;&lt;BR /&gt;Are you sure that your REGEX is correct? Can you give a sample to us from both log files? Use &amp;lt;/&amp;gt; as a code block. That way we could be sure that examples are what you have!&lt;/P&gt;&lt;P&gt;Also could you add your inputs.conf also so we see what you have defined there?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 20:00:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Parsing-issue-in-distributed-Environment/m-p/740640#M117739</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2025-03-03T20:00:25Z</dc:date>
    </item>
  </channel>
</rss>

