<?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 do I highlight an event in the timeline? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-highlight-an-event-in-the-timeline/m-p/366995#M162087</link>
    <description>&lt;P&gt;Thank you, yes this is exactly what I need. It would be nice to do this in the search, but this works too.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Mar 2018 13:49:19 GMT</pubDate>
    <dc:creator>safetytrick</dc:creator>
    <dc:date>2018-03-23T13:49:19Z</dc:date>
    <item>
      <title>How do I highlight an event in the timeline?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-highlight-an-event-in-the-timeline/m-p/366990#M162082</link>
      <description>&lt;P&gt;I commonly need to find patterns within relation to a certain event. For instance I want to view all error logs after a code deploy, or I have a bug that causes a server crash and I want to look at the 30 minutes worth of logs before the crash. &lt;/P&gt;

&lt;P&gt;In other tools I've used (Graphite, and New Relic) you can send special events for a code deploy and then those will be displayed in the graphs as a vertical line. &lt;/P&gt;

&lt;P&gt;This feature in graphite is similar to what I want: graphite.readthedocs.io/en/latest/events.html&lt;/P&gt;

&lt;P&gt;I tried using append with two queries:&lt;/P&gt;

&lt;P&gt;This query finds the application startup: &lt;CODE&gt;host="server-01.internal" WFLYSRV0025&lt;/CODE&gt;&lt;BR /&gt;
This query finds shows me everything I'm looking for &lt;CODE&gt;host="server-01.internal" ERROR&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This was what I tried in append:&lt;BR /&gt;
&lt;CODE&gt;host="server-01.internal" WFLYSRV0025 | append [search host="server-01.internal" ERROR]&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;However I can't differentiate between the regular search results and the event I want to highlight.&lt;/P&gt;

&lt;P&gt;I've tried quite a few things and can't seem to figure out how to show the events I'm looking for?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 19:44:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-highlight-an-event-in-the-timeline/m-p/366990#M162082</guid>
      <dc:creator>safetytrick</dc:creator>
      <dc:date>2018-03-21T19:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I highlight an event in the timeline?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-highlight-an-event-in-the-timeline/m-p/366991#M162083</link>
      <description>&lt;P&gt;Can you try &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host="server-01.internal" WFLYSRV0025 | append [search host="server-01.internal" ERROR] | highlight "ERROR"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Have a look at &lt;CODE&gt;highlight&lt;/CODE&gt; SPL command.&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.2/SearchReference/Highlight"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.2/SearchReference/Highlight&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 03:21:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-highlight-an-event-in-the-timeline/m-p/366991#M162083</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-03-22T03:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I highlight an event in the timeline?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-highlight-an-event-in-the-timeline/m-p/366992#M162084</link>
      <description>&lt;P&gt;This highlights matches in the search results, what I'm hoping for is to show these special events in the timeline.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 23:23:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-highlight-an-event-in-the-timeline/m-p/366992#M162084</guid>
      <dc:creator>safetytrick</dc:creator>
      <dc:date>2018-03-22T23:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I highlight an event in the timeline?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-highlight-an-event-in-the-timeline/m-p/366993#M162085</link>
      <description>&lt;P&gt;Try this then &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host="server-01.internal" WFLYSRV0025 | append [search host="server-01.internal" ERROR] | eval status=if(like(_raw,”%ERROR%”,”ERROR”,”NORMAL EVENTS”) | timechart span=1h count by status. 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Mar 2018 01:11:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-highlight-an-event-in-the-timeline/m-p/366993#M162085</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-03-23T01:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I highlight an event in the timeline?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-highlight-an-event-in-the-timeline/m-p/366994#M162086</link>
      <description>&lt;P&gt;@safetytrick, I think your use case is for &lt;CODE&gt;Event Annotation&lt;/CODE&gt; which is one of the new features of Splunk Enterprise 7 , Refer to the following answer and Splunk Documentation:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/600749/chart-with-trendline-in-splunk.html"&gt;https://answers.splunk.com/answers/600749/chart-with-trendline-in-splunk.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/ChartEventAnnotations"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Viz/ChartEventAnnotations&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Mar 2018 03:24:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-highlight-an-event-in-the-timeline/m-p/366994#M162086</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-03-23T03:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I highlight an event in the timeline?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-highlight-an-event-in-the-timeline/m-p/366995#M162087</link>
      <description>&lt;P&gt;Thank you, yes this is exactly what I need. It would be nice to do this in the search, but this works too.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Mar 2018 13:49:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-highlight-an-event-in-the-timeline/m-p/366995#M162087</guid>
      <dc:creator>safetytrick</dc:creator>
      <dc:date>2018-03-23T13:49:19Z</dc:date>
    </item>
  </channel>
</rss>

