<?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 add the regex in datamodel and use in tstats? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-the-regex-in-datamodel-and-use-in-tstats/m-p/317070#M94854</link>
    <description>&lt;P&gt;Want to add the below logic in the datamodel and use with tstats &lt;/P&gt;

&lt;P&gt;| eval _raw=replace(_raw,"\","null") |rex "NetworkSetting&amp;gt;International\sRoaming\sBar(?s).&lt;EM&gt;?&amp;lt;.&lt;/EM&gt;?NewValue&amp;gt;(?[^&amp;lt;]*)"&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 18:54:20 GMT</pubDate>
    <dc:creator>payal23</dc:creator>
    <dc:date>2020-09-29T18:54:20Z</dc:date>
    <item>
      <title>How to add the regex in datamodel and use in tstats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-the-regex-in-datamodel-and-use-in-tstats/m-p/317070#M94854</link>
      <description>&lt;P&gt;Want to add the below logic in the datamodel and use with tstats &lt;/P&gt;

&lt;P&gt;| eval _raw=replace(_raw,"\","null") |rex "NetworkSetting&amp;gt;International\sRoaming\sBar(?s).&lt;EM&gt;?&amp;lt;.&lt;/EM&gt;?NewValue&amp;gt;(?[^&amp;lt;]*)"&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:54:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-the-regex-in-datamodel-and-use-in-tstats/m-p/317070#M94854</guid>
      <dc:creator>payal23</dc:creator>
      <dc:date>2020-09-29T18:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to add the regex in datamodel and use in tstats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-the-regex-in-datamodel-and-use-in-tstats/m-p/317071#M94855</link>
      <description>&lt;P&gt;You can refer this doc:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.3/Knowledge/Addaregularexpressionattribute"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.3/Knowledge/Addaregularexpressionattribute&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 06:28:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-the-regex-in-datamodel-and-use-in-tstats/m-p/317071#M94855</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-04-09T06:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to add the regex in datamodel and use in tstats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-the-regex-in-datamodel-and-use-in-tstats/m-p/317072#M94856</link>
      <description>&lt;P&gt;Adding simple fields is fine but i want to add this replace logic in my dashboards and then use the same with my tstats query &lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 06:49:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-the-regex-in-datamodel-and-use-in-tstats/m-p/317072#M94856</guid>
      <dc:creator>payal23</dc:creator>
      <dc:date>2018-04-09T06:49:19Z</dc:date>
    </item>
  </channel>
</rss>

