<?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 Sort and compare message_text - noob needs help in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Sort-and-compare-message-text-noob-needs-help/m-p/523624#M36254</link>
    <description>&lt;P&gt;Hello, I have this new task that I'm not sure how to go about it. I'm new to splunk so any help is really appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a dashboard that monitors all power issues that's been logged, as well as a dashboard for all remaining issues based on the message text below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;host_name=Contoso* OR host_name=Kontoso* AND message_text="Power supply 1 has failed or been turned off"&lt;BR /&gt;OR message_text="Power supply 1 is okay" OR message_text="Power supply 2 has failed or been turned off" OR message_text="Power supply 2 is okay"&lt;BR /&gt;OR "Power-module 0/PS0/M1/SP failure condition cleared" OR "0/PS0/M1/SP, state: FAILED"&lt;/P&gt;&lt;P&gt;First off, the field "message_text" only captured four out of six messages, so these two were left out:&amp;nbsp;&lt;BR /&gt;"Power-module 0/PS0/M1/SP failure condition cleared" OR "0/PS0/M1/SP, state: FAILED"&lt;/P&gt;&lt;P&gt;I tried to see if i could create a new or update message_text to include these two, but it looked like it just added it to a new field that I couldn't find when I used the same filter afterwards.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it here that I use the eval-function to compare and remove logs that has been cleared?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Oct 2020 08:50:09 GMT</pubDate>
    <dc:creator>FinnHatlen</dc:creator>
    <dc:date>2020-10-08T08:50:09Z</dc:date>
    <item>
      <title>Sort and compare message_text - noob needs help</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Sort-and-compare-message-text-noob-needs-help/m-p/523624#M36254</link>
      <description>&lt;P&gt;Hello, I have this new task that I'm not sure how to go about it. I'm new to splunk so any help is really appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a dashboard that monitors all power issues that's been logged, as well as a dashboard for all remaining issues based on the message text below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;host_name=Contoso* OR host_name=Kontoso* AND message_text="Power supply 1 has failed or been turned off"&lt;BR /&gt;OR message_text="Power supply 1 is okay" OR message_text="Power supply 2 has failed or been turned off" OR message_text="Power supply 2 is okay"&lt;BR /&gt;OR "Power-module 0/PS0/M1/SP failure condition cleared" OR "0/PS0/M1/SP, state: FAILED"&lt;/P&gt;&lt;P&gt;First off, the field "message_text" only captured four out of six messages, so these two were left out:&amp;nbsp;&lt;BR /&gt;"Power-module 0/PS0/M1/SP failure condition cleared" OR "0/PS0/M1/SP, state: FAILED"&lt;/P&gt;&lt;P&gt;I tried to see if i could create a new or update message_text to include these two, but it looked like it just added it to a new field that I couldn't find when I used the same filter afterwards.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it here that I use the eval-function to compare and remove logs that has been cleared?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 08:50:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Sort-and-compare-message-text-noob-needs-help/m-p/523624#M36254</guid>
      <dc:creator>FinnHatlen</dc:creator>
      <dc:date>2020-10-08T08:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sort and compare message_text - noob needs help</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Sort-and-compare-message-text-noob-needs-help/m-p/523692#M36255</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/226955"&gt;@FinnHatlen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the other two values are added to some other field, you could write an eval and use coalesce function to include it in message_text.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.6/SearchReference/ConditionalFunctions#coalesce.28X.2C....29" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.6/SearchReference/ConditionalFunctions#coalesce.28X.2C....29&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 13:17:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Sort-and-compare-message-text-noob-needs-help/m-p/523692#M36255</guid>
      <dc:creator>ashajambagi</dc:creator>
      <dc:date>2020-10-08T13:17:42Z</dc:date>
    </item>
  </channel>
</rss>

