<?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: Field Extraction on the command Netstat command? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-on-the-command-Netstat-command/m-p/225982#M66642</link>
    <description>&lt;P&gt;Have a look at multikv command&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.2/SearchReference/Multikv"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.2/SearchReference/Multikv&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;usage&lt;/P&gt;

&lt;P&gt;your base search | multikv&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2016 23:28:40 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-08-10T23:28:40Z</dc:date>
    <item>
      <title>Field Extraction on the command Netstat command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-on-the-command-Netstat-command/m-p/225980#M66640</link>
      <description>&lt;P&gt;All, &lt;/P&gt;

&lt;P&gt;So I am playing with the netstat feature in Splunk for Unix. There does not seem to be field extractions for the columns in Netstat. &lt;/P&gt;

&lt;P&gt;Output look something like this from the netstat.sh command&lt;BR /&gt;
    Proto  Recv-Q  Send-Q  LocalAddress                    ForeignAddress                  State&lt;BR /&gt;
    tcp         0       0  0.0.0.0:22                      0.0.0.0:*                       LISTEN&lt;BR /&gt;
    tcp         0       0  127.0.0.1:25                    0.0.0.0:*                       LISTEN&lt;BR /&gt;
    tcp         0       0  0.0.0.0:8089                    0.0.0.0:*                       LISTEN&lt;BR /&gt;
    tcp         0       0  0.0.0.0:49085                   0.0.0.0:*                       LISTEN&lt;/P&gt;

&lt;P&gt;Any idea where I could start with this? &lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 22:51:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-on-the-command-Netstat-command/m-p/225980#M66640</guid>
      <dc:creator>daniel333</dc:creator>
      <dc:date>2016-08-10T22:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction on the command Netstat command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-on-the-command-Netstat-command/m-p/225981#M66641</link>
      <description>&lt;P&gt;You can create your own extraction.  Make this change on the search head&lt;/P&gt;

&lt;P&gt;*&lt;STRONG&gt;&lt;EM&gt;props.conf&lt;/EM&gt;&lt;/STRONG&gt;*&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[appropriate_stanza_name]
FIELD_HEADER_REGEX=(proto.*)
HEADER_FIELD_DELIMITER=" "
FIELD_DELIMITER=" "
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Aug 2016 23:14:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-on-the-command-Netstat-command/m-p/225981#M66641</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-08-10T23:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction on the command Netstat command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-on-the-command-Netstat-command/m-p/225982#M66642</link>
      <description>&lt;P&gt;Have a look at multikv command&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.2/SearchReference/Multikv"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.2/SearchReference/Multikv&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;usage&lt;/P&gt;

&lt;P&gt;your base search | multikv&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 23:28:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-on-the-command-Netstat-command/m-p/225982#M66642</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-08-10T23:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction on the command Netstat command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-on-the-command-Netstat-command/m-p/225983#M66643</link>
      <description>&lt;P&gt;Thanks a lot for this suggestion!  I was researching the same problem as the OP today for an urgent monitor.   multikv worked perfectly and saved me hours of time!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 15:35:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-on-the-command-Netstat-command/m-p/225983#M66643</guid>
      <dc:creator>brettbird80</dc:creator>
      <dc:date>2016-08-11T15:35:56Z</dc:date>
    </item>
  </channel>
</rss>

