<?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: Extract Field value in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Extract-Field-value/m-p/550433#M9065</link>
    <description>&lt;P&gt;Thank you both for the quick solution.&amp;nbsp; have a great day!&lt;/P&gt;</description>
    <pubDate>Tue, 04 May 2021 17:05:20 GMT</pubDate>
    <dc:creator>Zenun</dc:creator>
    <dc:date>2021-05-04T17:05:20Z</dc:date>
    <item>
      <title>Extract Field value</title>
      <link>https://community.splunk.com/t5/Reporting/Extract-Field-value/m-p/550278#M9062</link>
      <description>&lt;P&gt;Hello Splunker,&lt;/P&gt;&lt;P&gt;Since I am not computer science major, I have a hard time with Regex.&lt;/P&gt;&lt;P&gt;I have fields value with lxw0000.usr.osd.mil, amico0000, alsedx.osd.mil and so much more with variation.&lt;/P&gt;&lt;P&gt;How can I extract value before the first period?&lt;/P&gt;&lt;P&gt;for example just&lt;/P&gt;&lt;P&gt;Server&lt;/P&gt;&lt;P&gt;lxw0000&lt;/P&gt;&lt;P&gt;amico0000&lt;/P&gt;&lt;P&gt;alsedx&lt;/P&gt;&lt;P&gt;when I use the&amp;nbsp; (?&amp;lt;server&amp;gt;.*).\&amp;nbsp; , it does not show the amico0000.&lt;/P&gt;&lt;P&gt;Your quick help will be appreciated.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 20:40:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Extract-Field-value/m-p/550278#M9062</guid>
      <dc:creator>Zenun</dc:creator>
      <dc:date>2021-05-03T20:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Field value</title>
      <link>https://community.splunk.com/t5/Reporting/Extract-Field-value/m-p/550280#M9063</link>
      <description>&lt;P&gt;It depends on what delimits your string - I have assumed either dot or space&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "^(?&amp;lt;server&amp;gt;[^\.\s]+)"&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 03 May 2021 21:13:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Extract-Field-value/m-p/550280#M9063</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-05-03T21:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Field value</title>
      <link>https://community.splunk.com/t5/Reporting/Extract-Field-value/m-p/550282#M9064</link>
      <description>&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval n="lxw0000.usr.osd.mil,amico0000,alsedx.osd.mil" 
| makemv delim="," n 
| rex field="n" "^(?&amp;lt;host&amp;gt;\w+)\.?"&lt;/LI-CODE&gt;&lt;P&gt;First three lines to generate your test dataset. Will extract anything before your first "." (which is optional)&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 21:52:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Extract-Field-value/m-p/550282#M9064</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2021-05-03T21:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Field value</title>
      <link>https://community.splunk.com/t5/Reporting/Extract-Field-value/m-p/550433#M9065</link>
      <description>&lt;P&gt;Thank you both for the quick solution.&amp;nbsp; have a great day!&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 17:05:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Extract-Field-value/m-p/550433#M9065</guid>
      <dc:creator>Zenun</dc:creator>
      <dc:date>2021-05-04T17:05:20Z</dc:date>
    </item>
  </channel>
</rss>

