<?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: Is outputlookup command atomic? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-outputlookup-command-atomic/m-p/238912#M70989</link>
    <description>&lt;P&gt;Maybe not an answer but thinking this through...&lt;BR /&gt;
Each search generates artifacts in the &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Search/Dispatchdirectoryandsearchartifacts"&gt;dispatch directory&lt;/A&gt;. As I understand it each search artifacts are a csv with the results of the search. Each pipe does 'something' to the csv file in a linear way. &lt;BR /&gt;
Don't know if this is true but using that logic the csv file would need to be completed before it hit the outputlookp pipe.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Aug 2016 13:34:28 GMT</pubDate>
    <dc:creator>mtranchita</dc:creator>
    <dc:date>2016-08-18T13:34:28Z</dc:date>
    <item>
      <title>Is outputlookup command atomic?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-outputlookup-command-atomic/m-p/238911#M70988</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Do you know if "outputlookup" is an atomic operation (for both kvstores and csv files)?&lt;/P&gt;

&lt;P&gt;I have something like: | inputlookup xyz | (many commands) | outputlookup xyz&lt;BR /&gt;
I need a guarantee that xyz lookup is either replaced with a new version or left untouched (in case of stopping search, system crash etc).&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 13:35:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-outputlookup-command-atomic/m-p/238911#M70988</guid>
      <dc:creator>lukasz92</dc:creator>
      <dc:date>2016-08-17T13:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is outputlookup command atomic?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-outputlookup-command-atomic/m-p/238912#M70989</link>
      <description>&lt;P&gt;Maybe not an answer but thinking this through...&lt;BR /&gt;
Each search generates artifacts in the &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Search/Dispatchdirectoryandsearchartifacts"&gt;dispatch directory&lt;/A&gt;. As I understand it each search artifacts are a csv with the results of the search. Each pipe does 'something' to the csv file in a linear way. &lt;BR /&gt;
Don't know if this is true but using that logic the csv file would need to be completed before it hit the outputlookp pipe.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2016 13:34:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-outputlookup-command-atomic/m-p/238912#M70989</guid>
      <dc:creator>mtranchita</dc:creator>
      <dc:date>2016-08-18T13:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is outputlookup command atomic?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-outputlookup-command-atomic/m-p/238913#M70990</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;From this doc:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="http://dev.splunk.com/view/SP-CAAAEY7" target="test_blank"&gt;http://dev.splunk.com/view/SP-CAAAEY7&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Kv Store operations apply to individual records:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Perform Create-Read-Update-Delete (CRUD) operations on individual records using the Splunk REST API and lookups using the Splunk search language.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;While the csv files are rewrited entirely:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Requires a full rewrite of a file for edit operations.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So, I would say that the csv files are rewrited completely or not touched, while updating a KV Store could be partial. That´s my understanding from that estatements&lt;/P&gt;

&lt;P&gt;Hope it helps&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2016 14:16:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-outputlookup-command-atomic/m-p/238913#M70990</guid>
      <dc:creator>gfuente</dc:creator>
      <dc:date>2016-08-18T14:16:55Z</dc:date>
    </item>
  </channel>
</rss>

