<?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 Extract the field from Splunk Logs in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Extract-the-field-from-Splunk-Logs/m-p/545126#M37429</link>
    <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "(?&amp;lt;message&amp;gt;message=[^\n]+)"&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 24 Mar 2021 13:11:10 GMT</pubDate>
    <dc:creator>manjunathmeti</dc:creator>
    <dc:date>2021-03-24T13:11:10Z</dc:date>
    <item>
      <title>How to Extract the field from Splunk Logs</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Extract-the-field-from-Splunk-Logs/m-p/545113#M37424</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;How can I extract the Below word &lt;SPAN class="t"&gt;&lt;SPAN class="t a"&gt;&lt;STRONG&gt;OutOfMemoryErro&lt;/STRONG&gt;r&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;from the splunk losg&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;2021-03-24T09:01:32.357185211Z&lt;/SPAN&gt; &lt;SPAN class="t"&gt;app_name=dgfassetmutation&lt;/SPAN&gt; &lt;SPAN class="t"&gt;environment=e1&lt;/SPAN&gt; &lt;SPAN class="t"&gt;ns=blazepsfsubscribememsql-c2&lt;/SPAN&gt; &lt;SPAN class="t"&gt;pod_container=dgfassetmutation&lt;/SPAN&gt; &lt;SPAN class="t"&gt;pod_name=dgfassetmutation-deployment-3-p24np&lt;/SPAN&gt; &lt;SPAN class="t"&gt;stream=stdout&lt;/SPAN&gt; &lt;SPAN class="t"&gt;message=Terminating&lt;/SPAN&gt; &lt;SPAN class="t"&gt;due&lt;/SPAN&gt; &lt;SPAN class="t"&gt;to&lt;/SPAN&gt; &lt;SPAN class="t"&gt;java.lang.&lt;SPAN class="t a"&gt;&lt;STRONG&gt;OutOfMemoryErro&lt;/STRONG&gt;r&lt;/SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Metaspace&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2021-03-03T12:45:30.036179788Z&lt;/SPAN&gt; &lt;SPAN&gt;app_name=pulldataoneforce&lt;/SPAN&gt; &lt;SPAN&gt;environment=e1&lt;/SPAN&gt; &lt;SPAN&gt;ns=blazepsfpublish&lt;/SPAN&gt; &lt;SPAN&gt;pod_container=pulldataoneforce&lt;/SPAN&gt; &lt;SPAN&gt;pod_name=pulldataoneforce-deployment-175-kv9tv&lt;/SPAN&gt; &lt;SPAN&gt;stream=stdout&lt;/SPAN&gt; message=Caused by: java.lang.&lt;STRONG&gt;OutOfMemoryError&lt;/STRONG&gt;: unable to create new native thread&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 12:13:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Extract-the-field-from-Splunk-Logs/m-p/545113#M37424</guid>
      <dc:creator>aditsss</dc:creator>
      <dc:date>2021-03-24T12:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to Extract the field from Splunk Logs</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Extract-the-field-from-Splunk-Logs/m-p/545116#M37425</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225066"&gt;@aditsss&lt;/a&gt;,&lt;BR /&gt;Try this, highlighted values will be part of field&amp;nbsp;&lt;STRONG&gt;error&lt;/STRONG&gt;.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "java\.lang\.(?&amp;lt;error&amp;gt;\w+)\:\s(?&amp;lt;error_msg&amp;gt;[^\n]+)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this reply helps you, an upvote/like would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 12:21:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Extract-the-field-from-Splunk-Logs/m-p/545116#M37425</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2021-03-24T12:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to Extract the field from Splunk Logs</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Extract-the-field-from-Splunk-Logs/m-p/545123#M37428</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129090"&gt;@manjunathmeti&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to show the complete error message (The highlighted one)&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;2021-03-24T09:01:32.357185211Z&lt;/SPAN&gt; &lt;SPAN class="t"&gt;app_name=dgfassetmutation&lt;/SPAN&gt; &lt;SPAN class="t"&gt;environment=e1&lt;/SPAN&gt; &lt;SPAN class="t"&gt;ns=blazepsfsubscribememsql-c2&lt;/SPAN&gt; &lt;SPAN class="t"&gt;pod_container=dgfassetmutation&lt;/SPAN&gt; &lt;SPAN class="t"&gt;pod_name=dgfassetmutation-deployment-3-p24np&lt;/SPAN&gt; &lt;SPAN class="t"&gt;stream=stdout&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN class="t"&gt;message=Terminating&lt;/SPAN&gt; &lt;SPAN class="t"&gt;due&lt;/SPAN&gt; &lt;SPAN class="t"&gt;to&lt;/SPAN&gt; &lt;SPAN class="t"&gt;java.lang.&lt;SPAN class="t a"&gt;OutOfMemoryError&lt;/SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Metaspace&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2021-03-03T12:45:30.036179788Z&lt;/SPAN&gt; &lt;SPAN&gt;app_name=pulldataoneforce&lt;/SPAN&gt; &lt;SPAN&gt;environment=e1&lt;/SPAN&gt; &lt;SPAN&gt;ns=blazepsfpublish&lt;/SPAN&gt; &lt;SPAN&gt;pod_container=pulldataoneforce&lt;/SPAN&gt; &lt;SPAN&gt;pod_name=pulldataoneforce-deployment-175-kv9tv&lt;/SPAN&gt; &lt;SPAN&gt;stream=stdout&lt;/SPAN&gt; &lt;SPAN&gt;&lt;STRONG&gt;message=Caused&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;SPAN&gt;by:&lt;/SPAN&gt; &lt;SPAN&gt;java.lang.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;OutOfMemoryError&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;SPAN&gt;unable&lt;/SPAN&gt; &lt;SPAN&gt;to&lt;/SPAN&gt; &lt;SPAN&gt;create&lt;/SPAN&gt; &lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;native&lt;/SPAN&gt; &lt;SPAN&gt;thread&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;How can I extract the complete message&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 13:05:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Extract-the-field-from-Splunk-Logs/m-p/545123#M37428</guid>
      <dc:creator>aditsss</dc:creator>
      <dc:date>2021-03-24T13:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Extract the field from Splunk Logs</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Extract-the-field-from-Splunk-Logs/m-p/545126#M37429</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "(?&amp;lt;message&amp;gt;message=[^\n]+)"&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 24 Mar 2021 13:11:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Extract-the-field-from-Splunk-Logs/m-p/545126#M37429</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2021-03-24T13:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to Extract the field from Splunk Logs</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Extract-the-field-from-Splunk-Logs/m-p/545133#M37431</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129090"&gt;@manjunathmeti&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its working fine but I want to remove&lt;STRONG&gt; message=&lt;/STRONG&gt; part. Currently its coming like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;message=Caused by: java.lang.NullPointerException: null&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want it to show like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Caused by: java.lang.NullPointerException: null&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I achieve this&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 13:36:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Extract-the-field-from-Splunk-Logs/m-p/545133#M37431</guid>
      <dc:creator>aditsss</dc:creator>
      <dc:date>2021-03-24T13:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to Extract the field from Splunk Logs</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Extract-the-field-from-Splunk-Logs/m-p/545134#M37432</link>
      <description>&lt;P&gt;You put message= outside group capture.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "message=(?&amp;lt;message&amp;gt;[^\n]+)"&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 24 Mar 2021 13:37:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Extract-the-field-from-Splunk-Logs/m-p/545134#M37432</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2021-03-24T13:37:52Z</dc:date>
    </item>
  </channel>
</rss>

