<?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 generate statistic or visualization results for Splunk Add-on for Symantec DLP? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/How-to-generate-statistic-or-visualization-results-for-Splunk/m-p/404141#M6463</link>
    <description>&lt;P&gt;Thank you pkeenan87. it really helps.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Feb 2019 01:08:17 GMT</pubDate>
    <dc:creator>splunkbeginner</dc:creator>
    <dc:date>2019-02-22T01:08:17Z</dc:date>
    <item>
      <title>How to generate statistic or visualization results for Splunk Add-on for Symantec DLP?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-generate-statistic-or-visualization-results-for-Splunk/m-p/404139#M6461</link>
      <description>&lt;P&gt;I have specified the following variables to extract from my Symantec DLP system and send them to Splunk. &lt;/P&gt;

&lt;P&gt;Message = ID: $INCIDENT_ID$, Policy Violated: $POLICY$, Rules: $POLICY_RULES$, Count: $MATCH_COUNT$, Protocol: $PROTOCOL$, Recipient: $RECIPIENTS$, Sender: $SENDER$, Severity: $SEVERITY$, Subject: $SUBJECT$, Target: $TARGET$, Filename: $FILE_NAME$, Blocked: $BLOCKED$, Endpoint: $ENDPOINT_MACHINE$&lt;/P&gt;

&lt;P&gt;The following are the search results using the “sourcetype=symantec:dlp:syslog”&lt;/P&gt;

&lt;P&gt;Feb 21 09:39:11 192.168.1.5 Feb 21 09:40:23 ABCcompany Message = ID: 97712, Policy Violated: IT-IDM-Policy, Rules: [UNKNOWN VARIABLE: POLICY_RULES], Count: 3, Protocol: Endpoint Removable Storage Device, Recipient: N/A, Sender: N/A, Severity: 1:High, Subject: N/A, Target: N/A, Filename: Confidentail2.txt, Blocked: None, Endpoint: PC_David&lt;/P&gt;

&lt;P&gt;Feb 21 09:43:48 192.168.1.5 Feb 21 09:46:23 ABCcompany Message = ID: 97713, Policy Violated: IT-IDM-Policy, Rules: [UNKNOWN VARIABLE: POLICY_RULES], Count: 3, Protocol: Endpoint Removable Storage Device, Recipient: N/A, Sender: N/A, Severity: 1:High, Subject: N/A, Target: N/A, Filename: Confidentail.txt, Blocked: None, Endpoint: PC_David&lt;/P&gt;

&lt;P&gt;Feb 21 09:43:48 192.168.1.10 Feb 21 09:46:23 ABCcompany Message = ID: 97714, Policy Violated: HR-IDM-Policy, Rules: [UNKNOWN VARIABLE: POLICY_RULES], Count: 3, Protocol: Endpoint HTTPS, Recipient: Unknown, Sender: 192.168.2.122, Severity: 1:High, Subject: N/A, Target: N/A, Filename: N/A, Blocked: None, Endpoint: PC_Ryan&lt;/P&gt;

&lt;P&gt;I would like to create a pie chart comparing number (better with percentage) of policies violated; which should be 2 IT-IDM-Policy (66%), and 1 HR-IDM-Policy (33%).&lt;BR /&gt;
I have extracted a field named “Policy_Violated” by regular expression ^(?:[^:\n]*:){6}\s+(?P[^,]+). And the results are expected as follows:&lt;/P&gt;

&lt;P&gt;Values         Count     %&lt;BR /&gt;
IT-IDM-Policy   2        66.6&lt;BR /&gt;
HR-IDM-Policy  1        33.3&lt;/P&gt;

&lt;P&gt;But then what search keywords shall be used in order to generate statistic or visualization results which can be used afterwards to create a pie chart?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:24:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-generate-statistic-or-visualization-results-for-Splunk/m-p/404139#M6461</guid>
      <dc:creator>splunkbeginner</dc:creator>
      <dc:date>2020-09-29T23:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate statistic or visualization results for Splunk Add-on for Symantec DLP?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-generate-statistic-or-visualization-results-for-Splunk/m-p/404140#M6462</link>
      <description>&lt;P&gt;Try this search:&lt;/P&gt;

&lt;P&gt;sourcetype=symantec:dlp:syslog | stats count by Policy_Violated&lt;/P&gt;

&lt;P&gt;Here is a link to all the cool stuff you can do with the stats command: &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.4/SearchReference/Stats"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.4/SearchReference/Stats&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I also suggest specifying an index in your search to limit the scope, something like this:&lt;/P&gt;

&lt;P&gt;index=&amp;lt;&amp;gt; sourcetype=symantec:dlp:syslog | stats count by Policy_Violated&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 14:24:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-generate-statistic-or-visualization-results-for-Splunk/m-p/404140#M6462</guid>
      <dc:creator>pkeenan87</dc:creator>
      <dc:date>2019-02-21T14:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate statistic or visualization results for Splunk Add-on for Symantec DLP?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-generate-statistic-or-visualization-results-for-Splunk/m-p/404141#M6463</link>
      <description>&lt;P&gt;Thank you pkeenan87. it really helps.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 01:08:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-generate-statistic-or-visualization-results-for-Splunk/m-p/404141#M6463</guid>
      <dc:creator>splunkbeginner</dc:creator>
      <dc:date>2019-02-22T01:08:17Z</dc:date>
    </item>
  </channel>
</rss>

