<?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 do I search in the events message to count for DCOM, RPC, login? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/How-do-I-search-in-the-events-message-to-count-for-DCOM-RPC/m-p/644121#M9472</link>
    <description>&lt;P&gt;Events:&lt;/P&gt;
&lt;P&gt;Message = "This system has RPC error"&lt;BR /&gt;Message = "This system has login failure error"&lt;BR /&gt;Message = "This system has DCOM error"&lt;BR /&gt;Message = "This system has RPC error"&lt;BR /&gt;Message = "This system has login failure error"&lt;BR /&gt;Message = "This system has DCOM error"&lt;BR /&gt;Message = "This system has RPC error"&lt;BR /&gt;Message = "This system has login failure error"&lt;BR /&gt;Message = "This system has DCOM error"&lt;BR /&gt;Message = "This system has RPC remote error"&lt;BR /&gt;Message = "This system has login failure error"&lt;BR /&gt;Message = "This system has DCOM error"&lt;BR /&gt;Message = "This system has RPC error"&lt;BR /&gt;Message = "This system has login failure error"&lt;BR /&gt;Message = "This system has DCOM issue"&lt;BR /&gt;Message = "This system has RPC error"&lt;BR /&gt;Message = "This system has login failure error"&lt;BR /&gt;Message = "This system has DCOM error"&lt;BR /&gt;Message = "This system has login failure error"&lt;BR /&gt;Message = "This system has DCOM error"&lt;BR /&gt;Message = "This system has no error"&lt;BR /&gt;Message = "This system has fatal error"&lt;BR /&gt;Message = "This system has no fatal error"&lt;BR /&gt;Message = "This system has no CPU error"&lt;BR /&gt;Message = "This system has memory issue"&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;How do i search in the above Events Message to count for DCOM, RPC, login ?&lt;/P&gt;
&lt;P&gt;For example:&lt;BR /&gt;in the above example how should I get the results as below:&lt;BR /&gt;DCOM = 7&lt;BR /&gt;RPC = 6&lt;BR /&gt;login = 7&lt;BR /&gt;Total Message count = 25&lt;/P&gt;
&lt;P&gt;Thanks for your time!&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2023 12:38:21 GMT</pubDate>
    <dc:creator>splunkermm</dc:creator>
    <dc:date>2023-05-22T12:38:21Z</dc:date>
    <item>
      <title>How do I search in the events message to count for DCOM, RPC, login?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-do-I-search-in-the-events-message-to-count-for-DCOM-RPC/m-p/644121#M9472</link>
      <description>&lt;P&gt;Events:&lt;/P&gt;
&lt;P&gt;Message = "This system has RPC error"&lt;BR /&gt;Message = "This system has login failure error"&lt;BR /&gt;Message = "This system has DCOM error"&lt;BR /&gt;Message = "This system has RPC error"&lt;BR /&gt;Message = "This system has login failure error"&lt;BR /&gt;Message = "This system has DCOM error"&lt;BR /&gt;Message = "This system has RPC error"&lt;BR /&gt;Message = "This system has login failure error"&lt;BR /&gt;Message = "This system has DCOM error"&lt;BR /&gt;Message = "This system has RPC remote error"&lt;BR /&gt;Message = "This system has login failure error"&lt;BR /&gt;Message = "This system has DCOM error"&lt;BR /&gt;Message = "This system has RPC error"&lt;BR /&gt;Message = "This system has login failure error"&lt;BR /&gt;Message = "This system has DCOM issue"&lt;BR /&gt;Message = "This system has RPC error"&lt;BR /&gt;Message = "This system has login failure error"&lt;BR /&gt;Message = "This system has DCOM error"&lt;BR /&gt;Message = "This system has login failure error"&lt;BR /&gt;Message = "This system has DCOM error"&lt;BR /&gt;Message = "This system has no error"&lt;BR /&gt;Message = "This system has fatal error"&lt;BR /&gt;Message = "This system has no fatal error"&lt;BR /&gt;Message = "This system has no CPU error"&lt;BR /&gt;Message = "This system has memory issue"&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;How do i search in the above Events Message to count for DCOM, RPC, login ?&lt;/P&gt;
&lt;P&gt;For example:&lt;BR /&gt;in the above example how should I get the results as below:&lt;BR /&gt;DCOM = 7&lt;BR /&gt;RPC = 6&lt;BR /&gt;login = 7&lt;BR /&gt;Total Message count = 25&lt;/P&gt;
&lt;P&gt;Thanks for your time!&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 12:38:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-do-I-search-in-the-events-message-to-count-for-DCOM-RPC/m-p/644121#M9472</guid>
      <dc:creator>splunkermm</dc:creator>
      <dc:date>2023-05-22T12:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I search in the events message to count for DCOM, RPC, login?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-do-I-search-in-the-events-message-to-count-for-DCOM-RPC/m-p/644138#M9473</link>
      <description>&lt;P&gt;It would help to know what you've tried so far so we know not to suggest the same thing.&lt;/P&gt;&lt;P&gt;Perhaps this will get you started.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=foo "This system has *"
| rex "This system has (?&amp;lt;type&amp;gt;.*?) error"
| eventstats count as total
| stats count, max(total) as total by type
| rename total as "Total Message count"&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 22 May 2023 14:49:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-do-I-search-in-the-events-message-to-count-for-DCOM-RPC/m-p/644138#M9473</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-05-22T14:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do I search in the events message to count for DCOM, RPC, login?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-do-I-search-in-the-events-message-to-count-for-DCOM-RPC/m-p/644147#M9474</link>
      <description>&lt;P&gt;Thanks richgalloway. for your time. but still i am not getting what i want. let me rephrase my question:&lt;/P&gt;&lt;P&gt;I have events for the period of time and i would like to get how many different messages including duplicates.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;I have system events for the last 12 months. And these events have field name called Messages. Example of messages as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="splunkermm_0-1684770466883.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25502i9B35A83C4BF2D45F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="splunkermm_0-1684770466883.png" alt="splunkermm_0-1684770466883.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;splunkermm_0-1684770466883.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In the above list:&lt;/P&gt;&lt;P&gt;Message contains "logon failure" counts 7 times, "DCOM counts 2 times, "Group Policy failed" counts 2 times, "RPC" counts 2 times, "DomainController" counts 2 times, "DSS" counts 3 times.&lt;BR /&gt;&lt;BR /&gt;How do I show the line graph, by top counts over time frame – X axis is time, Y axis is the count – with one line for each different messages.&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 16:03:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-do-I-search-in-the-events-message-to-count-for-DCOM-RPC/m-p/644147#M9474</guid>
      <dc:creator>splunkermm</dc:creator>
      <dc:date>2023-05-22T16:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I search in the events message to count for DCOM, RPC, login?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-do-I-search-in-the-events-message-to-count-for-DCOM-RPC/m-p/644158#M9475</link>
      <description>&lt;P&gt;That changes things a bit.&amp;nbsp; Since the messages don't fit a pattern, coming up with a regex to extract the word of interest is more challenging.&amp;nbsp; With just a screenshot to work with, it's impossible to test possible solutions.&lt;/P&gt;&lt;P&gt;I can say, however, that the answer likely will use &lt;FONT face="courier new,courier"&gt;timechart&lt;/FONT&gt; instead of &lt;FONT face="courier new,courier"&gt;stats&lt;/FONT&gt;.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;...
| timechart count by type&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 17:17:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-do-I-search-in-the-events-message-to-count-for-DCOM-RPC/m-p/644158#M9475</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-05-22T17:17:13Z</dc:date>
    </item>
  </channel>
</rss>

