<?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 do I rename a hostname in Splunk? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-hostname-in-Splunk/m-p/396868#M115232</link>
    <description>&lt;P&gt;Thanks Frank, I will check this up and will update you&lt;/P&gt;</description>
    <pubDate>Wed, 21 Nov 2018 10:07:09 GMT</pubDate>
    <dc:creator>dbashyam</dc:creator>
    <dc:date>2018-11-21T10:07:09Z</dc:date>
    <item>
      <title>How do I rename a hostname in Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-hostname-in-Splunk/m-p/396865#M115229</link>
      <description>&lt;P&gt;Hi, How do I rename hostname in Splunk?&lt;/P&gt;

&lt;P&gt;I am trying to enroll a particular syslog in Splunk. I want to rename a hostname from &lt;BR /&gt;
a =&amp;gt; b&lt;BR /&gt;
c =&amp;gt; d&lt;/P&gt;

&lt;P&gt;How could I achieve this?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Dinesh&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 04:33:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-hostname-in-Splunk/m-p/396865#M115229</guid>
      <dc:creator>dbashyam</dc:creator>
      <dc:date>2018-11-20T04:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I rename a hostname in Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-hostname-in-Splunk/m-p/396866#M115230</link>
      <description>&lt;P&gt;It would help if you would provide a bit more concrete info on what you really want to rename rather than such an abstract example, but the basics work like below (assuming you want to rename certain specific host values and not generically want to rename all host values for a certain source/sourcetype).&lt;/P&gt;

&lt;P&gt;in props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[host::a]
TRANSFORMS-rename_host = rename_host_a
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[rename_host_a]
REGEX = .
FORMAT = host::b
DEST_KEY = MetaData:Host
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Nov 2018 09:11:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-hostname-in-Splunk/m-p/396866#M115230</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-11-20T09:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I rename a hostname in Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-hostname-in-Splunk/m-p/396867#M115231</link>
      <description>&lt;P&gt;For syslog, this is generally done with &lt;CODE&gt;host_segment&lt;/CODE&gt; in &lt;CODE&gt;indexes.conf&lt;/CODE&gt;.  You must configure &lt;CODE&gt;syslog&lt;/CODE&gt; to write the originating host as part of the path to the files.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 23:56:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-hostname-in-Splunk/m-p/396867#M115231</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-11-20T23:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I rename a hostname in Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-hostname-in-Splunk/m-p/396868#M115232</link>
      <description>&lt;P&gt;Thanks Frank, I will check this up and will update you&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 10:07:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-hostname-in-Splunk/m-p/396868#M115232</guid>
      <dc:creator>dbashyam</dc:creator>
      <dc:date>2018-11-21T10:07:09Z</dc:date>
    </item>
  </channel>
</rss>

