<?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 How do I extract this Operating System field from my sample data? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-this-Operating-System-field-from-my-sample-data/m-p/212688#M62317</link>
    <description>&lt;P&gt;I have exported a CSV from Nessus and I want to extract "Remote operating system : " and want the result as &lt;CODE&gt;Microsoft Windows Server 2008 R2 Datacenter Service Pack 1&lt;/CODE&gt; and &lt;CODE&gt;Juniper Junos Version 12.3R7.7&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Any suggestions?&lt;/P&gt;

&lt;P&gt;Sample Data:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"11936","","","None","192.168.1.4","tcp","0","OS Identification","It is possible to guess the remote operating system.","Using a combination of remote probes (e.g. TCP/IP, SMB, HTTP, NTP, SNMP, etc.), it is possible to guess the name of the remote operating system in use. It is also sometimes possible to guess the version of the operating system.","n/a",""," Remote operating system : Microsoft Windows Server 2008 R2 Datacenter Service Pack 1 Confidence level : 99

"11936","","","None","192.168.1.7","tcp","0","OS Identification","It is possible to guess the remote operating system.","Using a combination of remote probes (e.g. TCP/IP, SMB, HTTP, NTP, SNMP, etc.), it is possible to guess the name of the remote operating system in use. It is also sometimes possible to guess the version of the operating system.","n/a",""," Remote operating system : Juniper Junos Version 12.3R7.7
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 04 Nov 2015 04:35:54 GMT</pubDate>
    <dc:creator>sumansah</dc:creator>
    <dc:date>2015-11-04T04:35:54Z</dc:date>
    <item>
      <title>How do I extract this Operating System field from my sample data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-this-Operating-System-field-from-my-sample-data/m-p/212688#M62317</link>
      <description>&lt;P&gt;I have exported a CSV from Nessus and I want to extract "Remote operating system : " and want the result as &lt;CODE&gt;Microsoft Windows Server 2008 R2 Datacenter Service Pack 1&lt;/CODE&gt; and &lt;CODE&gt;Juniper Junos Version 12.3R7.7&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Any suggestions?&lt;/P&gt;

&lt;P&gt;Sample Data:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"11936","","","None","192.168.1.4","tcp","0","OS Identification","It is possible to guess the remote operating system.","Using a combination of remote probes (e.g. TCP/IP, SMB, HTTP, NTP, SNMP, etc.), it is possible to guess the name of the remote operating system in use. It is also sometimes possible to guess the version of the operating system.","n/a",""," Remote operating system : Microsoft Windows Server 2008 R2 Datacenter Service Pack 1 Confidence level : 99

"11936","","","None","192.168.1.7","tcp","0","OS Identification","It is possible to guess the remote operating system.","Using a combination of remote probes (e.g. TCP/IP, SMB, HTTP, NTP, SNMP, etc.), it is possible to guess the name of the remote operating system in use. It is also sometimes possible to guess the version of the operating system.","n/a",""," Remote operating system : Juniper Junos Version 12.3R7.7
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Nov 2015 04:35:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-this-Operating-System-field-from-my-sample-data/m-p/212688#M62317</guid>
      <dc:creator>sumansah</dc:creator>
      <dc:date>2015-11-04T04:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract this Operating System field from my sample data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-this-Operating-System-field-from-my-sample-data/m-p/212689#M62318</link>
      <description>&lt;P&gt;It sounds like you want to do a field extraction:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.0/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.0/Knowledge/ExtractfieldsinteractivelywithIFX&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If the two examples above are from your search results, you should be able to do the following:&lt;/P&gt;

&lt;P&gt;Expand one of the search results&lt;/P&gt;

&lt;P&gt;Click Event Actions -- Extract Field&lt;/P&gt;

&lt;P&gt;Click Regular Expressions -- Click Next&lt;/P&gt;

&lt;P&gt;Select the value for the operating system (ex: Microsoft Windows Server 2008 R2 Datacenter Service Pack 1).  Select just the value, not the "Remote operating system" label&lt;/P&gt;

&lt;P&gt;Enter a name for the field (ex: remote_os) and click Add Extraction&lt;/P&gt;

&lt;P&gt;Click Next a couple more times and click Save.&lt;/P&gt;

&lt;P&gt;When you do a search on that data again, you should see remote_os show up as an interesting field.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 18:23:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-this-Operating-System-field-from-my-sample-data/m-p/212689#M62318</guid>
      <dc:creator>kbarker302</dc:creator>
      <dc:date>2015-11-04T18:23:10Z</dc:date>
    </item>
  </channel>
</rss>

