<?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: How to remove the field from raw data in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-the-field-from-raw-data/m-p/539810#M36979</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will not only be INFO it could be ERROR as well in raw logs&lt;/P&gt;&lt;P&gt;Can you help me with the regex.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Sat, 13 Feb 2021 18:40:23 GMT</pubDate>
    <dc:creator>aditsss</dc:creator>
    <dc:date>2021-02-13T18:40:23Z</dc:date>
    <item>
      <title>How to remove the field from raw data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-the-field-from-raw-data/m-p/539807#M36976</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have one requirement.&lt;/P&gt;&lt;P&gt;I have raw logs as shown below:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;2021-02-12 09:22:32,936&lt;/STRONG&gt; INFO [ Web -4092] AuthenticationFilter Attempting request for (&amp;lt;asriva22&amp;gt;&amp;lt;lgposputb500910.ghp.bcp.com&amp;gt;&amp;lt;CN=lgposputb50010.ghp.aexp.com, OU=Middleware Utilities, O=ABC&amp;nbsp; Company, L=Phoenix, ST=Arizona&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;2021-02-12 09:22:38,689&lt;/STRONG&gt; INFO [ Web -4099] o.a.n.w.s.AuthenticationFilter Authentication success for&amp;nbsp;smennen&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2021-02-12 08:45:05,277&lt;/STRONG&gt; INFO [Web -3253] o.a.n.w.s.AuthenticationFilter Attempting request for (&amp;lt;JWT token&amp;gt;) GET&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://ebac/api/flow/controller/bulletins" target="_blank" rel="nofollow noopener noreferrer"&gt;https://ebac/api/flow/controller/bulletins&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I want to remove highlighted time from the logs.&lt;/P&gt;&lt;P&gt;How can I do that.&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;</description>
      <pubDate>Sat, 13 Feb 2021 18:32:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-the-field-from-raw-data/m-p/539807#M36976</guid>
      <dc:creator>aditsss</dc:creator>
      <dc:date>2021-02-13T18:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove the field from raw data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-the-field-from-raw-data/m-p/539808#M36977</link>
      <description>&lt;LI-CODE lang="markup"&gt;| rex mode=sed "s/^.*INFO/INFO/g"&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 13 Feb 2021 18:35:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-the-field-from-raw-data/m-p/539808#M36977</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-02-13T18:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove the field from raw data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-the-field-from-raw-data/m-p/539810#M36979</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will not only be INFO it could be ERROR as well in raw logs&lt;/P&gt;&lt;P&gt;Can you help me with the regex.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Feb 2021 18:40:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-the-field-from-raw-data/m-p/539810#M36979</guid>
      <dc:creator>aditsss</dc:creator>
      <dc:date>2021-02-13T18:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove the field from raw data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-the-field-from-raw-data/m-p/539849#M36998</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex mode=sed "s/.*?,[0-9]+ //"&lt;/LI-CODE&gt;&lt;P&gt;Try som like this (non greedy to stop after first , with number behind)&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 07:09:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-the-field-from-raw-data/m-p/539849#M36998</guid>
      <dc:creator>jotne</dc:creator>
      <dc:date>2021-02-15T07:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove the field from raw data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-the-field-from-raw-data/m-p/539852#M36999</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225066"&gt;@aditsss&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Either of these are valid&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex mode=sed "s/^[^ ]* [^ ]* //"
| rex mode=sed "s/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2},\d+ //"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;be careful using .* as it will be greedy, so if you have a matching pattern at the end of the data, you will lose the line up to that point.&lt;/P&gt;&lt;P&gt;First is just delineating by the date/time which have trailing spaces and the second is stricter in matching the date/time format as shown.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Feb 2021 23:36:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-remove-the-field-from-raw-data/m-p/539852#M36999</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2021-02-14T23:36:47Z</dc:date>
    </item>
  </channel>
</rss>

