<?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: Dashboard HTTP user agent vs Time in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-HTTP-user-agent-vs-Time/m-p/54155#M43886</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;You can optimize your search in some ways:&lt;/P&gt;

&lt;PRE&gt;index="outside" sourcetype="squid" x_wbrs_score&amp;lt;-3.5 x_wbrs_score&amp;gt;-5.9 earliest = -1h@h latest=@h | eval cs_mime_type=lower(cs_mime_type)| search cs_mime_type=java OR cs_mime_type=json  | timechart count by cs_user_agent&lt;/PRE&gt;

&lt;PRE&gt;earliest=-1h@h latest=@h&lt;/PRE&gt;

&lt;P&gt;This makes sure you only get exactly one hour of data&lt;/P&gt;

&lt;PRE&gt;timechart count by cs_user_agent&lt;/PRE&gt;

&lt;P&gt;Shows the count of requests by User agent&lt;/P&gt;

&lt;P&gt;I've also moved the x_wbrs_score filter to the beginning of your search, I'm not really sure if this will work. But in general it's better to filter out the not needed data. That your search should be a bit faster.&lt;/P&gt;

&lt;P&gt;The visualization is something you'll have to configure in the dashboard. Also the refreshing is something that should be done in the dashboard.&lt;BR /&gt;
I've also assumed that the field that has the user agent is cs_user_agent.&lt;BR /&gt;
You'll have to modify it if needed.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 14:42:32 GMT</pubDate>
    <dc:creator>pietervi</dc:creator>
    <dc:date>2020-09-28T14:42:32Z</dc:date>
    <item>
      <title>Dashboard HTTP user agent vs Time</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-HTTP-user-agent-vs-Time/m-p/54154#M43885</link>
      <description>&lt;P&gt;Hi Everyone, I trying to created a Dashboard that will only shows Allowed traffic from a specific sourtcetype (ie. squid), with the MIME Type anything related to java ONLY and the x_wbrs_score &amp;lt; -3.5 and &amp;gt; -5.9&lt;/P&gt;

&lt;P&gt;Then with that information, put together a graphic that shows HTTP user agent vs Time which refreshes every hour for the previous hours traffic. Line based chart/or plotted is preferred. &lt;/P&gt;

&lt;P&gt;Thanks in advanced. &lt;/P&gt;

&lt;P&gt;So far what I got is this.... but I'm not sure that is want I need.&lt;/P&gt;

&lt;P&gt;index="outside" sourcetype="squid"  | eval cs_mime_type=lower(cs_mime_type)| search cs_mime_type=&lt;EM&gt;java&lt;/EM&gt; OR cs_mime_type=&lt;EM&gt;json&lt;/EM&gt; x_wbrs_score&amp;lt;-3.5 x_wbrs_score&amp;gt;-5.9 earliest = -1h | eval _time = strptime(time, "%Y-%m-%d") | search * earliest=-1h&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:42:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-HTTP-user-agent-vs-Time/m-p/54154#M43885</guid>
      <dc:creator>acedeno</dc:creator>
      <dc:date>2020-09-28T14:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard HTTP user agent vs Time</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-HTTP-user-agent-vs-Time/m-p/54155#M43886</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;You can optimize your search in some ways:&lt;/P&gt;

&lt;PRE&gt;index="outside" sourcetype="squid" x_wbrs_score&amp;lt;-3.5 x_wbrs_score&amp;gt;-5.9 earliest = -1h@h latest=@h | eval cs_mime_type=lower(cs_mime_type)| search cs_mime_type=java OR cs_mime_type=json  | timechart count by cs_user_agent&lt;/PRE&gt;

&lt;PRE&gt;earliest=-1h@h latest=@h&lt;/PRE&gt;

&lt;P&gt;This makes sure you only get exactly one hour of data&lt;/P&gt;

&lt;PRE&gt;timechart count by cs_user_agent&lt;/PRE&gt;

&lt;P&gt;Shows the count of requests by User agent&lt;/P&gt;

&lt;P&gt;I've also moved the x_wbrs_score filter to the beginning of your search, I'm not really sure if this will work. But in general it's better to filter out the not needed data. That your search should be a bit faster.&lt;/P&gt;

&lt;P&gt;The visualization is something you'll have to configure in the dashboard. Also the refreshing is something that should be done in the dashboard.&lt;BR /&gt;
I've also assumed that the field that has the user agent is cs_user_agent.&lt;BR /&gt;
You'll have to modify it if needed.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:42:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-HTTP-user-agent-vs-Time/m-p/54155#M43886</guid>
      <dc:creator>pietervi</dc:creator>
      <dc:date>2020-09-28T14:42:32Z</dc:date>
    </item>
  </channel>
</rss>

