<?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 do I insert values for different fields in different rows? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-insert-values-for-different-fields-in-different-rows/m-p/435333#M124133</link>
    <description>&lt;P&gt;HI,&lt;/P&gt;

&lt;P&gt;My data is like ,&lt;/P&gt;

&lt;P&gt;Sno  Name   URL     Column2&lt;BR /&gt;
1        A          Null       Null&lt;BR /&gt;
2       Null      https:/   Null&lt;BR /&gt;
3       Null      Null       fast&lt;/P&gt;

&lt;P&gt;Here I need to fill values in null values using our Splunk search query.&lt;/P&gt;

&lt;P&gt;Please help with this query. How do I insert values in the Null value fields?&lt;/P&gt;

&lt;P&gt;Regards.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Oct 2018 08:09:12 GMT</pubDate>
    <dc:creator>umsundar2015</dc:creator>
    <dc:date>2018-10-16T08:09:12Z</dc:date>
    <item>
      <title>How do I insert values for different fields in different rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-insert-values-for-different-fields-in-different-rows/m-p/435333#M124133</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;

&lt;P&gt;My data is like ,&lt;/P&gt;

&lt;P&gt;Sno  Name   URL     Column2&lt;BR /&gt;
1        A          Null       Null&lt;BR /&gt;
2       Null      https:/   Null&lt;BR /&gt;
3       Null      Null       fast&lt;/P&gt;

&lt;P&gt;Here I need to fill values in null values using our Splunk search query.&lt;/P&gt;

&lt;P&gt;Please help with this query. How do I insert values in the Null value fields?&lt;/P&gt;

&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 08:09:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-insert-values-for-different-fields-in-different-rows/m-p/435333#M124133</guid>
      <dc:creator>umsundar2015</dc:creator>
      <dc:date>2018-10-16T08:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert values for different fields in different rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-insert-values-for-different-fields-in-different-rows/m-p/435334#M124134</link>
      <description>&lt;P&gt;You can use | fillnull value=&lt;/P&gt;

&lt;P&gt;If you want to give value for Specific fields.&lt;/P&gt;

&lt;P&gt;| fillnull value=&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 08:14:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-insert-values-for-different-fields-in-different-rows/m-p/435334#M124134</guid>
      <dc:creator>SathyaNarayanan</dc:creator>
      <dc:date>2018-10-16T08:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert values for different fields in different rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-insert-values-for-different-fields-in-different-rows/m-p/435335#M124135</link>
      <description>&lt;P&gt;Thanks for your reply .&lt;BR /&gt;
But i need to insert unique values for each field and row .&lt;BR /&gt;
Can some on help me .&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 11:04:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-insert-values-for-different-fields-in-different-rows/m-p/435335#M124135</guid>
      <dc:creator>umsundar2015</dc:creator>
      <dc:date>2018-10-16T11:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert values for different fields in different rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-insert-values-for-different-fields-in-different-rows/m-p/435336#M124136</link>
      <description>&lt;P&gt;You use eval command with if or Match for it.&lt;/P&gt;

&lt;P&gt;| eval test=if(fieldname=fieldvalue,unique value , 0)&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 11:14:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-insert-values-for-different-fields-in-different-rows/m-p/435336#M124136</guid>
      <dc:creator>SathyaNarayanan</dc:creator>
      <dc:date>2018-10-16T11:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert values for different fields in different rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-insert-values-for-different-fields-in-different-rows/m-p/435337#M124137</link>
      <description>&lt;P&gt;Hi @umsundar2015 ,&lt;BR /&gt;
you can use the below query  to fill specific value.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | eval field_name= if(field_name==" ", "-", field_name)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This query will fill '-' if any null value come, else field value will be passed.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 11:17:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-insert-values-for-different-fields-in-different-rows/m-p/435337#M124137</guid>
      <dc:creator>twh1</dc:creator>
      <dc:date>2018-10-16T11:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert values for different fields in different rows?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-insert-values-for-different-fields-in-different-rows/m-p/435338#M124138</link>
      <description>&lt;P&gt;Please specify what you want the output to look like.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 14:34:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-insert-values-for-different-fields-in-different-rows/m-p/435338#M124138</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2018-10-16T14:34:15Z</dc:date>
    </item>
  </channel>
</rss>

