<?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 Why is linux script data showing the correct output but not getting correct data? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-linux-script-data-showing-the-correct-output-but-not/m-p/628977#M15262</link>
    <description>&lt;P&gt;Configured the script based app for the databases which brings the data as follows. As mentioned below.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I am running the script at UF corrected expeced output. But when I push an application containg the same script it is fetching me different output.&lt;/P&gt;
&lt;P&gt;Expected data after running the script in the UF is as below.&amp;nbsp;&lt;BR /&gt;Date, datname="sql", age="00:00:00"&lt;/P&gt;
&lt;P&gt;Output we are receiving at splunk SH is like below.&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Date, &lt;/SPAN&gt;&lt;SPAN class=""&gt;datname=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;datname&lt;/SPAN&gt;&lt;SPAN&gt;", &lt;/SPAN&gt;&lt;SPAN class=""&gt;age=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;age"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The script is kept in the location -&amp;gt; /opt/splunkforwarder/etc/apps/appname/bin - scripts&amp;nbsp; and&amp;nbsp;/opt/splunkforwarder/etc/apps/appname/local - inputs.conf&lt;BR /&gt;&lt;BR /&gt;For troubleshooting I have followed below steps.&amp;nbsp;&lt;BR /&gt;Removed and Pushed the app again&lt;BR /&gt;Tried restarting the UF&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Can any one know or faced similar issue.&lt;BR /&gt;Please help me on this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Feb 2023 01:05:16 GMT</pubDate>
    <dc:creator>SK2</dc:creator>
    <dc:date>2023-02-01T01:05:16Z</dc:date>
    <item>
      <title>Why is linux script data showing the correct output but not getting correct data?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-linux-script-data-showing-the-correct-output-but-not/m-p/628977#M15262</link>
      <description>&lt;P&gt;Configured the script based app for the databases which brings the data as follows. As mentioned below.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I am running the script at UF corrected expeced output. But when I push an application containg the same script it is fetching me different output.&lt;/P&gt;
&lt;P&gt;Expected data after running the script in the UF is as below.&amp;nbsp;&lt;BR /&gt;Date, datname="sql", age="00:00:00"&lt;/P&gt;
&lt;P&gt;Output we are receiving at splunk SH is like below.&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Date, &lt;/SPAN&gt;&lt;SPAN class=""&gt;datname=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;datname&lt;/SPAN&gt;&lt;SPAN&gt;", &lt;/SPAN&gt;&lt;SPAN class=""&gt;age=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;age"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The script is kept in the location -&amp;gt; /opt/splunkforwarder/etc/apps/appname/bin - scripts&amp;nbsp; and&amp;nbsp;/opt/splunkforwarder/etc/apps/appname/local - inputs.conf&lt;BR /&gt;&lt;BR /&gt;For troubleshooting I have followed below steps.&amp;nbsp;&lt;BR /&gt;Removed and Pushed the app again&lt;BR /&gt;Tried restarting the UF&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Can any one know or faced similar issue.&lt;BR /&gt;Please help me on this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 01:05:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-linux-script-data-showing-the-correct-output-but-not/m-p/628977#M15262</guid>
      <dc:creator>SK2</dc:creator>
      <dc:date>2023-02-01T01:05:16Z</dc:date>
    </item>
  </channel>
</rss>

