<?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: XQL - 4740 event log - Account Lock out different languages - merging in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-4740-event-log-account-lock-out-different-languages-merging/m-p/516581#M2935</link>
    <description>&lt;P&gt;Hello Rob&lt;/P&gt;
&lt;P&gt;We had the same issue. Usually we use coalesce to merge German and English into one field.&lt;/P&gt;
&lt;P&gt;Based on your query you could do the following:&lt;/P&gt;
&lt;P&gt;|alter Domain_Name = coalesce (Domain_Name_GER, Domain_Name_ENG)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Coalesce takes the first value which is not NULL. But usually only GER or ENG has a value and not both.&lt;/P&gt;
&lt;P&gt;Hope this helps. If you find a better solution I'm interested how you solved it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
    <pubDate>Mon, 03 Oct 2022 06:24:08 GMT</pubDate>
    <dc:creator>micomi</dc:creator>
    <dc:date>2022-10-03T06:24:08Z</dc:date>
    <item>
      <title>XQL - 4740 event log - Account Lock out different languages - merging</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-4740-event-log-account-lock-out-different-languages-merging/m-p/516548#M2932</link>
      <description>&lt;P&gt;Hello dear community!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is there a way to merge the german and english variants in XQL? The action_evtlog_message is sometimes german and more often english. But how do I get the results from both in one&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;//Account Locked &lt;A href="https://github.com/busterix76/Cortex_XDR_XQL_Queries/commit/8a2eee205cb16c1d36599cbdedd8808301652cfa" target="_blank"&gt;https://github.com/busterix76/Cortex_XDR_XQL_Queries/commit/8a2eee205cb16c1d36599cbdedd8808301652cfa&lt;/A&gt;&lt;BR /&gt;preset = xdr_event_log &lt;BR /&gt;| filter action_evtlog_event_id = 4740 &lt;BR /&gt;|alter Domain_Name_GER =arrayindex(regextract(action_evtlog_message ,"Kontodomäne:.*?(\w.*)\r\n"),0) &lt;BR /&gt;|alter Domain_Name_ENG =arrayindex(regextract(action_evtlog_message ,"Account Domain:.*?(\w.*)\r\n"),0) &lt;BR /&gt;| alter Locked_Account_ENG =arrayindex(regextract(action_evtlog_message, "Account That Was Locked Out:\r\n.*\r\n.*Account Name:.*?(\w.*)\r\n"),0)&lt;BR /&gt;| alter Locked_Account_GER =arrayindex(regextract(action_evtlog_message, "Gesperrtes Konto:\r\n.*\r\n.*Kontoname:.*?(\w.*)\r\n"),0)&lt;BR /&gt;| fields action_evtlog_description,action_evtlog_message ,agent_hostname,agent_ip_addresses , Domain_Name_ENG,Domain_Name_GER, Locked_Account_GER,Locked_Account_ENG&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rob&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2022 21:58:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-4740-event-log-account-lock-out-different-languages-merging/m-p/516548#M2932</guid>
      <dc:creator>RFeyertag</dc:creator>
      <dc:date>2022-10-01T21:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: XQL - 4740 event log - Account Lock out different languages - merging</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-4740-event-log-account-lock-out-different-languages-merging/m-p/516581#M2935</link>
      <description>&lt;P&gt;Hello Rob&lt;/P&gt;
&lt;P&gt;We had the same issue. Usually we use coalesce to merge German and English into one field.&lt;/P&gt;
&lt;P&gt;Based on your query you could do the following:&lt;/P&gt;
&lt;P&gt;|alter Domain_Name = coalesce (Domain_Name_GER, Domain_Name_ENG)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Coalesce takes the first value which is not NULL. But usually only GER or ENG has a value and not both.&lt;/P&gt;
&lt;P&gt;Hope this helps. If you find a better solution I'm interested how you solved it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 06:24:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-4740-event-log-account-lock-out-different-languages-merging/m-p/516581#M2935</guid>
      <dc:creator>micomi</dc:creator>
      <dc:date>2022-10-03T06:24:08Z</dc:date>
    </item>
  </channel>
</rss>

