<?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: Where can we rename the src field? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Where-can-we-rename-the-src-field/m-p/459443#M129685</link>
    <description>&lt;P&gt;Thank you @richgalloway. &lt;/P&gt;

&lt;P&gt;The developer did &lt;CODE&gt;| eval src-{index} = src&lt;/CODE&gt; which generated the &lt;CODE&gt;src-wineventlog&lt;/CODE&gt; and &lt;CODE&gt;src-checkpoint&lt;/CODE&gt; fields. She is happy ; -)&lt;/P&gt;</description>
    <pubDate>Thu, 22 Aug 2019 18:52:19 GMT</pubDate>
    <dc:creator>danielbb</dc:creator>
    <dc:date>2019-08-22T18:52:19Z</dc:date>
    <item>
      <title>Where can we rename the src field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-can-we-rename-the-src-field/m-p/459441#M129683</link>
      <description>&lt;P&gt;We have the following working query - &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index=wineventlog sourcetype=WinEventLog NOT ("xxxx" OR "yyyy") 
src_ip IN (&amp;lt;mulitple IPs&amp;gt;)) OR (index=checkpoint 
dst IN (&amp;lt;mulitple IPs&amp;gt;) action=Accept ) 
| eval destination_ip = coalesce(&amp;lt;one name&amp;gt;,&amp;lt;second name&amp;gt;) 
| transaction destination_ip maxpause=60s
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Both &lt;CODE&gt;index=wineventlog&lt;/CODE&gt; and &lt;CODE&gt;index=checkpoint&lt;/CODE&gt; have a &lt;CODE&gt;src&lt;/CODE&gt; field.&lt;/P&gt;

&lt;P&gt;Where can we rename it? because we end up after the &lt;CODE&gt;transaction&lt;/CODE&gt; command with two &lt;CODE&gt;src&lt;/CODE&gt;fields.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 16:53:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-can-we-rename-the-src-field/m-p/459441#M129683</guid>
      <dc:creator>danielbb</dc:creator>
      <dc:date>2019-08-22T16:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Where can we rename the src field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-can-we-rename-the-src-field/m-p/459442#M129684</link>
      <description>&lt;P&gt;You can rename the field any time after the first pipe.  Of course, that will rename the field from both indexes.  To rename only one index, you'll need to split the base query, do the rename, then combine them with &lt;CODE&gt;append&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 17:55:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-can-we-rename-the-src-field/m-p/459442#M129684</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-08-22T17:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Where can we rename the src field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-can-we-rename-the-src-field/m-p/459443#M129685</link>
      <description>&lt;P&gt;Thank you @richgalloway. &lt;/P&gt;

&lt;P&gt;The developer did &lt;CODE&gt;| eval src-{index} = src&lt;/CODE&gt; which generated the &lt;CODE&gt;src-wineventlog&lt;/CODE&gt; and &lt;CODE&gt;src-checkpoint&lt;/CODE&gt; fields. She is happy ; -)&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 18:52:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-can-we-rename-the-src-field/m-p/459443#M129685</guid>
      <dc:creator>danielbb</dc:creator>
      <dc:date>2019-08-22T18:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Where can we rename the src field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-can-we-rename-the-src-field/m-p/459444#M129686</link>
      <description>&lt;P&gt;If your problem is resolved, please accept the answer to help future readers.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 19:04:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-can-we-rename-the-src-field/m-p/459444#M129686</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-08-22T19:04:44Z</dc:date>
    </item>
  </channel>
</rss>

