<?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: Sparkline after Join Command Problem in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Sparkline-after-Join-Command-Problem/m-p/501590#M8826</link>
    <description>&lt;P&gt;Hey mate,&lt;/P&gt;

&lt;P&gt;I had a similar issue with the sparkline persisting after a subsequent join/stats.&lt;/P&gt;

&lt;P&gt;All I did was in the stats command following the join:&lt;BR /&gt;
| stats list(spark) as spark&lt;/P&gt;

&lt;P&gt;So yours would be after the join:&lt;BR /&gt;
| stats list(sparkline) as sparkline by host&lt;/P&gt;

&lt;P&gt;It worked for me. YMMV. Let me know how you go.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Apr 2020 01:39:24 GMT</pubDate>
    <dc:creator>ehqtrainorm</dc:creator>
    <dc:date>2020-04-02T01:39:24Z</dc:date>
    <item>
      <title>Sparkline after Join Command Problem</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Sparkline-after-Join-Command-Problem/m-p/501589#M8825</link>
      <description>&lt;P&gt;Hello Fellow Splunkers,&lt;/P&gt;

&lt;P&gt;I have been trying the following query to pull the ES notified hosts and bring a sparkline of the host's log counts to reduce the amount of false positives on the "Event logging service has shut down" event alerts.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;EventCode=1100 OR EventCode=1074 OR EventCode=6006 OR EventCode=6008 index=wineventlog sourcetype=WinEventLog 
    [ search index=notable source="Audit - Anomalous Audit Trail Activity Detected - Rule" 
    | stats count by dest_nt_host 
    | fields - count 
    | rename dest_nt_host as search 
    | format] 
| convert ctime(_time) 
| eval tem = "* " ._time." - " .EventCode. " - " .Message 
| sort tem 
| stats values(tem) as tem by host 
| search tem=*1100* 
| join host 
    [ search index=wineventlog sourcetype=WinEventLog 
        [ search index=notable source="Audit - Anomalous Audit Trail Activity Detected - Rule" 
        | stats count by dest_nt_host 
        | fields - count 
        | rename dest_nt_host as search 
        | format] 
    | stats sparkline(count) as sparkline by host ]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, I have a problem applying a Sparkline next to my table. In which the supposed sparkline chart returns a result of:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;##__SPARKLINE__##,146,158,201,172,161,172,185,180,154,2361,986,202,570,192,2284,999,200,931,427,549,177,330,382,142,2448,3695,566,3409,490,3483,4671,4927,3000,3087,2873,159,280,139,113,164,132,141,135,151,186,176,140,146,88
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have tried adding the following line which was mentioned in previous similar questions at the end of my query, &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;makemv delim="," setsv=true sparkline
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, still end up having a string problem for the sparkline. &lt;/P&gt;

&lt;P&gt;Any and all suggestions are welcome,&lt;BR /&gt;
Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 11:41:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Sparkline-after-Join-Command-Problem/m-p/501589#M8825</guid>
      <dc:creator>zekiramhi</dc:creator>
      <dc:date>2019-10-14T11:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sparkline after Join Command Problem</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Sparkline-after-Join-Command-Problem/m-p/501590#M8826</link>
      <description>&lt;P&gt;Hey mate,&lt;/P&gt;

&lt;P&gt;I had a similar issue with the sparkline persisting after a subsequent join/stats.&lt;/P&gt;

&lt;P&gt;All I did was in the stats command following the join:&lt;BR /&gt;
| stats list(spark) as spark&lt;/P&gt;

&lt;P&gt;So yours would be after the join:&lt;BR /&gt;
| stats list(sparkline) as sparkline by host&lt;/P&gt;

&lt;P&gt;It worked for me. YMMV. Let me know how you go.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 01:39:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Sparkline-after-Join-Command-Problem/m-p/501590#M8826</guid>
      <dc:creator>ehqtrainorm</dc:creator>
      <dc:date>2020-04-02T01:39:24Z</dc:date>
    </item>
  </channel>
</rss>

