<?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 COALESCE command in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/COALESCE-command/m-p/387229#M173048</link>
    <description>&lt;P&gt;hi&lt;BR /&gt;
when I execute the query below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="x" sourcetype="WinEventLog:Microsoft-Windows-Diagnostics-Performance/Operational"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I can display a field called "OpCode". This fields has many values and I want to display one of them&lt;BR /&gt;
sometimes this field is in english, sometimes in french, sometimes in spain and sometimes in german&lt;BR /&gt;
so I need to use "coalesce" like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval 'Boot_Degradation'=coalesce('Boot_Degradation','Détérioration du démarrage','Información del arranque','Startbeeinträchtigung') 
| table OpCode
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but it doesnt works&lt;BR /&gt;
could you help me please???&lt;/P&gt;</description>
    <pubDate>Wed, 13 Feb 2019 14:29:11 GMT</pubDate>
    <dc:creator>jip31</dc:creator>
    <dc:date>2019-02-13T14:29:11Z</dc:date>
    <item>
      <title>COALESCE command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/COALESCE-command/m-p/387229#M173048</link>
      <description>&lt;P&gt;hi&lt;BR /&gt;
when I execute the query below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="x" sourcetype="WinEventLog:Microsoft-Windows-Diagnostics-Performance/Operational"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I can display a field called "OpCode". This fields has many values and I want to display one of them&lt;BR /&gt;
sometimes this field is in english, sometimes in french, sometimes in spain and sometimes in german&lt;BR /&gt;
so I need to use "coalesce" like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval 'Boot_Degradation'=coalesce('Boot_Degradation','Détérioration du démarrage','Información del arranque','Startbeeinträchtigung') 
| table OpCode
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but it doesnt works&lt;BR /&gt;
could you help me please???&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 14:29:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/COALESCE-command/m-p/387229#M173048</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2019-02-13T14:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: COALESCE command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/COALESCE-command/m-p/387230#M173049</link>
      <description>&lt;P&gt;It looks duplicate of&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/726556/help-on-coalesce-command.html"&gt;https://answers.splunk.com/answers/726556/help-on-coalesce-command.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 14:37:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/COALESCE-command/m-p/387230#M173049</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-02-13T14:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: COALESCE command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/COALESCE-command/m-p/387231#M173050</link>
      <description>&lt;P&gt;Hello Jip31,&lt;/P&gt;

&lt;P&gt;Coalesce command is used to combine two or different fields from different or same sourcetype to perform further action.&lt;/P&gt;

&lt;P&gt;Kindly try to modify the above SPL and try to run.&lt;/P&gt;

&lt;P&gt;| eval 'Gen_OpCode'=coalesce('Boot_Degradation','Détérioration du démarrage','Información del arranque','Startbeeinträchtigung') &lt;BR /&gt;
|table Gen_OpCode&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:16:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/COALESCE-command/m-p/387231#M173050</guid>
      <dc:creator>gouravdashtcs</dc:creator>
      <dc:date>2020-09-29T23:16:29Z</dc:date>
    </item>
  </channel>
</rss>

