<?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: adding an event to a query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/adding-an-event-to-a-query/m-p/53853#M13117</link>
    <description>&lt;P&gt;You could try to use append, something like this&lt;/P&gt;

&lt;P&gt;index=someindex | append [ search index=someindex | eval SID="Samslara" | head 1 ]  | table SID&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/append"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/append&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2012 21:17:42 GMT</pubDate>
    <dc:creator>imrago</dc:creator>
    <dc:date>2012-01-18T21:17:42Z</dc:date>
    <item>
      <title>adding an event to a query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/adding-an-event-to-a-query/m-p/53852#M13116</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
  I have a problem with trying to add a manual event to a query.  For example I have a query that produces a list of session ids (SID).  I would also like to add another event and this event would only have static information.  So given a query that produces the following data:&lt;/P&gt;

&lt;H1&gt;SID&lt;/H1&gt;

&lt;P&gt;aa&lt;BR /&gt;
bb&lt;BR /&gt;
cc&lt;/P&gt;

&lt;P&gt;I want to modify this query to produce this:&lt;/P&gt;

&lt;H1&gt;SID&lt;/H1&gt;

&lt;P&gt;Samslara&lt;BR /&gt;
aa&lt;BR /&gt;
bb&lt;BR /&gt;
cc&lt;/P&gt;

&lt;P&gt;where "Samslara" is statically declared in the query.&lt;BR /&gt;
What's the best way to do this?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2012 20:01:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/adding-an-event-to-a-query/m-p/53852#M13116</guid>
      <dc:creator>Samslara</dc:creator>
      <dc:date>2012-01-18T20:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: adding an event to a query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/adding-an-event-to-a-query/m-p/53853#M13117</link>
      <description>&lt;P&gt;You could try to use append, something like this&lt;/P&gt;

&lt;P&gt;index=someindex | append [ search index=someindex | eval SID="Samslara" | head 1 ]  | table SID&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/append"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/append&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2012 21:17:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/adding-an-event-to-a-query/m-p/53853#M13117</guid>
      <dc:creator>imrago</dc:creator>
      <dc:date>2012-01-18T21:17:42Z</dc:date>
    </item>
  </channel>
</rss>

