<?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: A wrong configuration script (configure.sh) in Splunk Add-on for NetFlow Ver 3.0.1. in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/A-wrong-configuration-script-configure-sh-in-Splunk-Add-on-for/m-p/184189#M18338</link>
    <description>&lt;P&gt;In some tests, I got a solution to this issue.&lt;BR /&gt;
I found that "configure.sh" may be wrong.&lt;/P&gt;

&lt;P&gt;Original "configure.sh" in this App (Ver 3.0.1)  includes following lines.&lt;BR /&gt;
    let keepDays=$keepDays-1&lt;BR /&gt;
       if [[ -z "$keepDays" ]]; then&lt;BR /&gt;
          keepDays="2"&lt;BR /&gt;
       fi&lt;/P&gt;

&lt;P&gt;This causes wrong days to keep ascii flow logs in flowfix.sh which is executed by script stanza in inputs.conf.&lt;BR /&gt;
    find /opt/splunk625/etc/apps/Splunk_TA_flowfix/nfdump-ascii -type f -mtime +-1 -exec rm -f {} \;&lt;/P&gt;

&lt;P&gt;So if you encounter this issue, you need to change flowfix.sh manually, or specify custom days during its configurations. &lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 07:03:56 GMT</pubDate>
    <dc:creator>sunrise</dc:creator>
    <dc:date>2020-09-29T07:03:56Z</dc:date>
    <item>
      <title>A wrong configuration script (configure.sh) in Splunk Add-on for NetFlow Ver 3.0.1.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/A-wrong-configuration-script-configure-sh-in-Splunk-Add-on-for/m-p/184188#M18337</link>
      <description>&lt;P&gt;This post is not a question, but an enhancement request for Splunk Add-on for NetFlow Ver 3.0.1.&lt;BR /&gt;
I installed Splunk Enterprise 6.2.5 and Splunk Add-on for NetFlow Ver 3.0.1 on a Linux server and configured it by "configure.sh" in this add-on.&lt;/P&gt;

&lt;P&gt;Though I've done this almost default settings and transferred netflow packets to this UDP receiving port, I could not get any netflow packets in Splunk.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2015 04:58:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/A-wrong-configuration-script-configure-sh-in-Splunk-Add-on-for/m-p/184188#M18337</guid>
      <dc:creator>sunrise</dc:creator>
      <dc:date>2015-08-24T04:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: A wrong configuration script (configure.sh) in Splunk Add-on for NetFlow Ver 3.0.1.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/A-wrong-configuration-script-configure-sh-in-Splunk-Add-on-for/m-p/184189#M18338</link>
      <description>&lt;P&gt;In some tests, I got a solution to this issue.&lt;BR /&gt;
I found that "configure.sh" may be wrong.&lt;/P&gt;

&lt;P&gt;Original "configure.sh" in this App (Ver 3.0.1)  includes following lines.&lt;BR /&gt;
    let keepDays=$keepDays-1&lt;BR /&gt;
       if [[ -z "$keepDays" ]]; then&lt;BR /&gt;
          keepDays="2"&lt;BR /&gt;
       fi&lt;/P&gt;

&lt;P&gt;This causes wrong days to keep ascii flow logs in flowfix.sh which is executed by script stanza in inputs.conf.&lt;BR /&gt;
    find /opt/splunk625/etc/apps/Splunk_TA_flowfix/nfdump-ascii -type f -mtime +-1 -exec rm -f {} \;&lt;/P&gt;

&lt;P&gt;So if you encounter this issue, you need to change flowfix.sh manually, or specify custom days during its configurations. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:03:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/A-wrong-configuration-script-configure-sh-in-Splunk-Add-on-for/m-p/184189#M18338</guid>
      <dc:creator>sunrise</dc:creator>
      <dc:date>2020-09-29T07:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: A wrong configuration script (configure.sh) in Splunk Add-on for NetFlow Ver 3.0.1.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/A-wrong-configuration-script-configure-sh-in-Splunk-Add-on-for/m-p/184190#M18339</link>
      <description>&lt;P&gt;the script has major errors which results in a broken flowfix.sh file. &lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2016 22:44:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/A-wrong-configuration-script-configure-sh-in-Splunk-Add-on-for/m-p/184190#M18339</guid>
      <dc:creator>thejohn</dc:creator>
      <dc:date>2016-01-24T22:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: A wrong configuration script (configure.sh) in Splunk Add-on for NetFlow Ver 3.0.1.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/A-wrong-configuration-script-configure-sh-in-Splunk-Add-on-for/m-p/184191#M18340</link>
      <description>&lt;P&gt;I have also found this bug. Enter the days manually or change the script to do the null comparison first.&lt;/P&gt;

&lt;P&gt;Disappointing that this has been out there for over a year and hasn't been fixed yet.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Sep 2016 14:27:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/A-wrong-configuration-script-configure-sh-in-Splunk-Add-on-for/m-p/184191#M18340</guid>
      <dc:creator>huns0004</dc:creator>
      <dc:date>2016-09-04T14:27:32Z</dc:date>
    </item>
  </channel>
</rss>

