<?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 How to append dynamic value to end of search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-append-dynamic-value-to-end-of-search/m-p/589182#M205185</link>
    <description>&lt;P&gt;Dear Community&lt;/P&gt;
&lt;P&gt;I am looking for a way to add a static and a dynamic value at the end of a search to track the status of the (saved) search. I would like to add the dynamic value to be extraced from an CSV-File.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;|...base search...
| table index, sourcetype, _time.....

| append
    [ makeresults
    | eval status="completed"
    | eval ID = missionID&amp;lt;field from input.csv&amp;gt;   
    ]

&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help is appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Mar 2022 14:35:46 GMT</pubDate>
    <dc:creator>ub_ik</dc:creator>
    <dc:date>2022-03-16T14:35:46Z</dc:date>
    <item>
      <title>How to append dynamic value to end of search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-append-dynamic-value-to-end-of-search/m-p/589182#M205185</link>
      <description>&lt;P&gt;Dear Community&lt;/P&gt;
&lt;P&gt;I am looking for a way to add a static and a dynamic value at the end of a search to track the status of the (saved) search. I would like to add the dynamic value to be extraced from an CSV-File.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;|...base search...
| table index, sourcetype, _time.....

| append
    [ makeresults
    | eval status="completed"
    | eval ID = missionID&amp;lt;field from input.csv&amp;gt;   
    ]

&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help is appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 14:35:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-append-dynamic-value-to-end-of-search/m-p/589182#M205185</guid>
      <dc:creator>ub_ik</dc:creator>
      <dc:date>2022-03-16T14:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to append dynamic value to end of search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-append-dynamic-value-to-end-of-search/m-p/589193#M205188</link>
      <description>&lt;P&gt;Would something like this work for you?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|...base search...
| table index, sourcetype, _time.....

| append
    [ | makeresults
    | eval status="completed"   
    ]
| append
    [ | inputlookup input.csv ]&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 15 Mar 2022 22:00:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-append-dynamic-value-to-end-of-search/m-p/589193#M205188</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-03-15T22:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to append dynamic value to end of search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-append-dynamic-value-to-end-of-search/m-p/589257#M205208</link>
      <description>&lt;P&gt;Thx for your answer. Unfortunately not. I need the field from the lookup on the same line as&lt;/P&gt;&lt;P&gt;the other evals in the first append.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 09:57:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-append-dynamic-value-to-end-of-search/m-p/589257#M205208</guid>
      <dc:creator>ub_ik</dc:creator>
      <dc:date>2022-03-16T09:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to append dynamic value to end of search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-append-dynamic-value-to-end-of-search/m-p/589259#M205210</link>
      <description>&lt;LI-CODE lang="markup"&gt;|...base search...
| table index, sourcetype, _time.....

| append
    [ | inputlookup input.csv 
    | eval status="completed"]&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 16 Mar 2022 10:00:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-append-dynamic-value-to-end-of-search/m-p/589259#M205210</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-03-16T10:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to append dynamic value to end of search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-append-dynamic-value-to-end-of-search/m-p/589262#M205211</link>
      <description>&lt;P&gt;life could be soo easy. thx a lot for your expertise.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 10:44:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-append-dynamic-value-to-end-of-search/m-p/589262#M205211</guid>
      <dc:creator>ub_ik</dc:creator>
      <dc:date>2022-03-16T10:44:42Z</dc:date>
    </item>
  </channel>
</rss>

