<?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 to extract language field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-language-field/m-p/131598#M35914</link>
    <description>&lt;P&gt;Converted from &lt;A href="http://answers.splunk.com/answers/193524/how-to-write-a-search-to-return-events-with-a-vari.html"&gt;http://answers.splunk.com/answers/193524/how-to-write-a-search-to-return-events-with-a-vari.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;i want to extract this field language:&lt;/P&gt;

&lt;P&gt;language:ru-ru&lt;/P&gt;

&lt;P&gt;can you please help me what regular expression should i write?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Snabel&lt;/P&gt;</description>
    <pubDate>Tue, 25 Nov 2014 15:01:05 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2014-11-25T15:01:05Z</dc:date>
    <item>
      <title>How to extract language field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-language-field/m-p/131598#M35914</link>
      <description>&lt;P&gt;Converted from &lt;A href="http://answers.splunk.com/answers/193524/how-to-write-a-search-to-return-events-with-a-vari.html"&gt;http://answers.splunk.com/answers/193524/how-to-write-a-search-to-return-events-with-a-vari.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;i want to extract this field language:&lt;/P&gt;

&lt;P&gt;language:ru-ru&lt;/P&gt;

&lt;P&gt;can you please help me what regular expression should i write?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Snabel&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2014 15:01:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-language-field/m-p/131598#M35914</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-11-25T15:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract language field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-language-field/m-p/131599#M35915</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;language:(?&amp;lt;language&amp;gt;\w+-?\w*)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In the long run you should consider setting up key-value extraction around the colon instead of the equals sign.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2014 15:01:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-language-field/m-p/131599#M35915</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-11-25T15:01:40Z</dc:date>
    </item>
  </channel>
</rss>

