<?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 Extract error message from network_traffic data model in Splunk Cloud Platform</title>
    <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Extract-error-message-from-network-traffic-data-model/m-p/745590#M3774</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I am creating a basic dashboard which shows the total number of firewall blocked for 3 sourcetypes using data model "network_traffic". Query is-&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats `security_content_summariesonly` count from datamodel=Network_Traffic where sourcetype IN ("cp_log", "cisco:asa", "pan:traffic") All_Traffic.action="blocked"&lt;/LI-CODE&gt;&lt;P&gt;Now I am trying to add one more panel which will show what is causing the block activity (error message) for each sourcetype with respect to count, but I am unable to figure out the appropriate field (or query) from the data model which is related to the error message.&lt;/P&gt;&lt;P&gt;Can someone help me understand which field to group by to get the error message.&lt;/P&gt;&lt;P&gt;P.S I am new to splunk&lt;/P&gt;</description>
    <pubDate>Tue, 06 May 2025 19:45:20 GMT</pubDate>
    <dc:creator>mchoudhary</dc:creator>
    <dc:date>2025-05-06T19:45:20Z</dc:date>
    <item>
      <title>Extract error message from network_traffic data model</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Extract-error-message-from-network-traffic-data-model/m-p/745590#M3774</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I am creating a basic dashboard which shows the total number of firewall blocked for 3 sourcetypes using data model "network_traffic". Query is-&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats `security_content_summariesonly` count from datamodel=Network_Traffic where sourcetype IN ("cp_log", "cisco:asa", "pan:traffic") All_Traffic.action="blocked"&lt;/LI-CODE&gt;&lt;P&gt;Now I am trying to add one more panel which will show what is causing the block activity (error message) for each sourcetype with respect to count, but I am unable to figure out the appropriate field (or query) from the data model which is related to the error message.&lt;/P&gt;&lt;P&gt;Can someone help me understand which field to group by to get the error message.&lt;/P&gt;&lt;P&gt;P.S I am new to splunk&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 19:45:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Extract-error-message-from-network-traffic-data-model/m-p/745590#M3774</guid>
      <dc:creator>mchoudhary</dc:creator>
      <dc:date>2025-05-06T19:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Extract error message from network_traffic data model</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Extract-error-message-from-network-traffic-data-model/m-p/745600#M3775</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/276624"&gt;@mchoudhary&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ultimately this depends on what has been extracted and if the data is CIM compliant.&lt;/P&gt;&lt;P&gt;You can see all of the fields for the&amp;nbsp;Network_Traffic data model at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/CIM/6.0.4/User/NetworkTraffic" target="_blank"&gt;https://docs.splunk.com/Documentation/CIM/6.0.4/User/NetworkTraffic&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Whilst there isnt a specific "error message" field - I think from memory you might find some use from the "rule" field which combined with the blocked action should give you some insight on the block reason.&lt;/P&gt;&lt;P&gt;Try something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats `security_content_summariesonly` count from datamodel=Network_Traffic where sourcetype IN ("cp_log", "cisco:asa", "pan:traffic") All_Traffic.action="blocked" BY All_Traffic.rule sourcetype&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 21:46:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Extract-error-message-from-network-traffic-data-model/m-p/745600#M3775</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-05-06T21:46:54Z</dc:date>
    </item>
  </channel>
</rss>

