<?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 Add-on for Unix and Linux: Scripts parsing strange information in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-Scripts-parsing-strange/m-p/348017#M42007</link>
    <description>&lt;P&gt;What I find confusing is that the openPortsEnhanced script produces an output line for each open port plus one output line in the form of "... file_hash=(stdin)=...". This last line (whatever its purpose) is correctly visible in the screenshot of your original post. However, the other lines (the open port lines) are missing.&lt;BR /&gt;
Maybe your search is wrong. Try a Splunk search like: index=* sourcetype="Unix:ListeningPorts".&lt;BR /&gt;
Perhaps you can find error information in the internals logs. Search for something like: index=_* openPortsEnhanced.sh.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 17:54:31 GMT</pubDate>
    <dc:creator>Yunagi</dc:creator>
    <dc:date>2020-09-29T17:54:31Z</dc:date>
    <item>
      <title>Splunk Add-on for Unix and Linux: Scripts parsing strange information</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-Scripts-parsing-strange/m-p/348011#M42001</link>
      <description>&lt;P&gt;Hi.&lt;BR /&gt;
Unix:ListeningPorts and Unix:SSHDConfig shows in logs not valid information.&lt;BR /&gt;
What should I do to fix it? Because, I have no idea.&lt;/P&gt;

&lt;P&gt;For example — &lt;A href="http://prntscr.com/i79m55"&gt;http://prntscr.com/i79m55&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2018 17:21:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-Scripts-parsing-strange/m-p/348011#M42001</guid>
      <dc:creator>test_qweqwe</dc:creator>
      <dc:date>2018-01-29T17:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Unix and Linux: Scripts parsing strange information</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-Scripts-parsing-strange/m-p/348012#M42002</link>
      <description>&lt;P&gt;Bump! Up! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 10:31:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-Scripts-parsing-strange/m-p/348012#M42002</guid>
      <dc:creator>test_qweqwe</dc:creator>
      <dc:date>2018-01-31T10:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Unix and Linux: Scripts parsing strange information</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-Scripts-parsing-strange/m-p/348013#M42003</link>
      <description>&lt;P&gt;Having a look at inputs.conf, there are comments which specify that these two inputs "may require Splunk forwarder to run as root on some platforms."&lt;/P&gt;

&lt;P&gt;So which user is running Splunk on your system? Is it root? You can check via "ps aux | grep splunkd"&lt;/P&gt;

&lt;P&gt;Alternatively, you can use the input [script://./bin/openPorts.sh] instead of [script://./bin/openPortsEnhanced.sh].&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 11:57:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-Scripts-parsing-strange/m-p/348013#M42003</guid>
      <dc:creator>Yunagi</dc:creator>
      <dc:date>2018-01-31T11:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Unix and Linux: Scripts parsing strange information</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-Scripts-parsing-strange/m-p/348014#M42004</link>
      <description>&lt;P&gt;Yes, it's root.&lt;BR /&gt;
I can't use, &lt;CODE&gt;[script://./bin/openPorts.sh]&lt;/CODE&gt; instead of &lt;CODE&gt;[script://./bin/openPortsEnhanced.sh]&lt;/CODE&gt;, coz  it's not a same. I need something like this — &lt;A href="http://prntscr.com/i942vd"&gt;http://prntscr.com/i942vd&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;And as I said Unix:SSHDConfig have the same problem (what u can see from screenshot).&lt;/P&gt;

&lt;P&gt;What can affect to this?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 12:17:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-Scripts-parsing-strange/m-p/348014#M42004</guid>
      <dc:creator>test_qweqwe</dc:creator>
      <dc:date>2018-02-02T12:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Unix and Linux: Scripts parsing strange information</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-Scripts-parsing-strange/m-p/348015#M42005</link>
      <description>&lt;P&gt;Try to run the script directly and see what happens: Change into the directory etc/apps/Splunk_TA_nix/bin and execute the script via ./openPortsEnhanced.sh&lt;/P&gt;

&lt;P&gt;The output should be something like this:&lt;BR /&gt;
[root@myhost bin]# ./openPortsEnhanced.sh&lt;BR /&gt;
Fri Feb  2 13:33:15 CET 2018 app=ntpd dest_ip=* dest_port=123 pid=634 user=ntp fd=16u ip_version=4 dvc_id=15331 transport=UDP&lt;BR /&gt;
Fri Feb  2 13:33:15 CET 2018 app=ntpd dest_ip=* dest_port=123 pid=634 user=ntp fd=17u ip_version=6 dvc_id=15332 transport=UDP&lt;BR /&gt;
...&lt;/P&gt;

&lt;P&gt;Having a look at the script, it runs the following command to get a list of the open ports:&lt;BR /&gt;
lsof -i -P -n&lt;/P&gt;

&lt;P&gt;What happens when you execute this command? Perhaps you need to install lsof.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:56:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-Scripts-parsing-strange/m-p/348015#M42005</guid>
      <dc:creator>Yunagi</dc:creator>
      <dc:date>2020-09-29T17:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Unix and Linux: Scripts parsing strange information</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-Scripts-parsing-strange/m-p/348016#M42006</link>
      <description>&lt;P&gt;@Yunagi&lt;BR /&gt;
Hello.&lt;BR /&gt;
So, if script run manually it's works, it's show correct information. Okay, how me fix this problem now? :S&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 12:26:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-Scripts-parsing-strange/m-p/348016#M42006</guid>
      <dc:creator>test_qweqwe</dc:creator>
      <dc:date>2018-02-05T12:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Unix and Linux: Scripts parsing strange information</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-Scripts-parsing-strange/m-p/348017#M42007</link>
      <description>&lt;P&gt;What I find confusing is that the openPortsEnhanced script produces an output line for each open port plus one output line in the form of "... file_hash=(stdin)=...". This last line (whatever its purpose) is correctly visible in the screenshot of your original post. However, the other lines (the open port lines) are missing.&lt;BR /&gt;
Maybe your search is wrong. Try a Splunk search like: index=* sourcetype="Unix:ListeningPorts".&lt;BR /&gt;
Perhaps you can find error information in the internals logs. Search for something like: index=_* openPortsEnhanced.sh.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:54:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-Scripts-parsing-strange/m-p/348017#M42007</guid>
      <dc:creator>Yunagi</dc:creator>
      <dc:date>2020-09-29T17:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Unix and Linux: Scripts parsing strange information</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-Scripts-parsing-strange/m-p/348018#M42008</link>
      <description>&lt;P&gt;I have no direct access to PC and my client has not given me correct information.&lt;BR /&gt;
The problem was in not installed isof.&lt;BR /&gt;
Tnx for helping!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 11:52:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-Scripts-parsing-strange/m-p/348018#M42008</guid>
      <dc:creator>test_qweqwe</dc:creator>
      <dc:date>2018-02-06T11:52:28Z</dc:date>
    </item>
  </channel>
</rss>

