<?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 to create a record if missing in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-create-a-record-if-missing/m-p/486932#M193759</link>
    <description>&lt;P&gt;this works if record does not exist, at times it ( column1=3) can exist as well.. &lt;/P&gt;</description>
    <pubDate>Fri, 24 Apr 2020 19:22:03 GMT</pubDate>
    <dc:creator>jiaqya</dc:creator>
    <dc:date>2020-04-24T19:22:03Z</dc:date>
    <item>
      <title>how to create a record if missing</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-create-a-record-if-missing/m-p/486930#M193757</link>
      <description>&lt;P&gt;exmaple below&lt;/P&gt;

&lt;P&gt;column1:column2&lt;BR /&gt;
1:10&lt;BR /&gt;
2:15&lt;BR /&gt;
4:30&lt;BR /&gt;
5:40&lt;/P&gt;

&lt;P&gt;in this example, column1 is missing "3", i would like to create this record with a "0" value in column2.&lt;BR /&gt;
how can this be done ?&lt;/P&gt;

&lt;P&gt;thanks..&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 14:34:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-create-a-record-if-missing/m-p/486930#M193757</guid>
      <dc:creator>jiaqya</dc:creator>
      <dc:date>2020-04-24T14:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a record if missing</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-create-a-record-if-missing/m-p/486931#M193758</link>
      <description>&lt;P&gt;Use append:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;your search&amp;gt; | append [| makeresults | eval column1=3, column2=0]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Apr 2020 16:13:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-create-a-record-if-missing/m-p/486931#M193758</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-04-24T16:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a record if missing</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-create-a-record-if-missing/m-p/486932#M193759</link>
      <description>&lt;P&gt;this works if record does not exist, at times it ( column1=3) can exist as well.. &lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 19:22:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-create-a-record-if-missing/m-p/486932#M193759</guid>
      <dc:creator>jiaqya</dc:creator>
      <dc:date>2020-04-24T19:22:03Z</dc:date>
    </item>
  </channel>
</rss>

