<?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: HEC (HTTP Event Collector) host rename using props transforms - ansible tower in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/HEC-HTTP-Event-Collector-host-rename-using-props-transforms/m-p/462267#M79786</link>
    <description>&lt;P&gt;Not &lt;CODE&gt;/services/collector/event&lt;/CODE&gt; endpoint, if you want to parse data using props/transforms then you need to use &lt;CODE&gt;/services/collector/raw&lt;/CODE&gt; endpoint.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Apr 2020 13:30:16 GMT</pubDate>
    <dc:creator>harsmarvania57</dc:creator>
    <dc:date>2020-04-01T13:30:16Z</dc:date>
    <item>
      <title>HEC (HTTP Event Collector) host rename using props transforms - ansible tower</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/HEC-HTTP-Event-Collector-host-rename-using-props-transforms/m-p/462264#M79783</link>
      <description>&lt;P&gt;I've setup HEC on a heavy forwarder to gather logs through HEC for Ansible Tower.&lt;/P&gt;

&lt;P&gt;Logs are rolling in, but I can't seem to get props/transforms setup correctly to rename the hostname from IP to text.&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[host::$ipaddress]  
TRANSFORMS-$hostname_rename = host_rename_$hostname
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[host_rename_$hostname]
REGEX = (.*)
DEST_KEY = MetaData:Host
FORMAT = host::$hostname
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I've applied these setting to both the HF and to my Indexer cluster and neither place renames the hostname from IP address to text. &lt;/P&gt;

&lt;P&gt;Is there something special with HEC or HF that's preventing these changes from taking place?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 19:33:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/HEC-HTTP-Event-Collector-host-rename-using-props-transforms/m-p/462264#M79783</guid>
      <dc:creator>merrelr</dc:creator>
      <dc:date>2020-03-31T19:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: HEC (HTTP Event Collector) host rename using props transforms - ansible tower</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/HEC-HTTP-Event-Collector-host-rename-using-props-transforms/m-p/462265#M79784</link>
      <description>&lt;P&gt;HI Merreir, &lt;/P&gt;

&lt;P&gt;Which endpoint are you using to connect to your HEC?  /services/collector or /services/collector/event or /services/collector/raw ?&lt;/P&gt;

&lt;P&gt;Only data going through  /services/collector/event will get affected by props / transforms.&lt;/P&gt;

&lt;P&gt;Hope this helps...&lt;BR /&gt;
./D&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 13:19:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/HEC-HTTP-Event-Collector-host-rename-using-props-transforms/m-p/462265#M79784</guid>
      <dc:creator>darrenfuller</dc:creator>
      <dc:date>2020-04-01T13:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: HEC (HTTP Event Collector) host rename using props transforms - ansible tower</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/HEC-HTTP-Event-Collector-host-rename-using-props-transforms/m-p/462266#M79785</link>
      <description>&lt;P&gt;I'm using the "/services/collector/event" endpoint. &lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 13:26:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/HEC-HTTP-Event-Collector-host-rename-using-props-transforms/m-p/462266#M79785</guid>
      <dc:creator>merrelr</dc:creator>
      <dc:date>2020-04-01T13:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: HEC (HTTP Event Collector) host rename using props transforms - ansible tower</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/HEC-HTTP-Event-Collector-host-rename-using-props-transforms/m-p/462267#M79786</link>
      <description>&lt;P&gt;Not &lt;CODE&gt;/services/collector/event&lt;/CODE&gt; endpoint, if you want to parse data using props/transforms then you need to use &lt;CODE&gt;/services/collector/raw&lt;/CODE&gt; endpoint.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 13:30:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/HEC-HTTP-Event-Collector-host-rename-using-props-transforms/m-p/462267#M79786</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2020-04-01T13:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: HEC (HTTP Event Collector) host rename using props transforms - ansible tower</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/HEC-HTTP-Event-Collector-host-rename-using-props-transforms/m-p/462268#M79787</link>
      <description>&lt;P&gt;I'll give that a try and see if I can get it to work that way.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 13:46:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/HEC-HTTP-Event-Collector-host-rename-using-props-transforms/m-p/462268#M79787</guid>
      <dc:creator>merrelr</dc:creator>
      <dc:date>2020-04-01T13:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: HEC (HTTP Event Collector) host rename using props transforms - ansible tower</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/HEC-HTTP-Event-Collector-host-rename-using-props-transforms/m-p/462269#M79788</link>
      <description>&lt;P&gt;I had to update the props to use 127.0.0.1 instead of it's actual IP. I'm not sure what changed since yesterday with my testing. &lt;/P&gt;

&lt;P&gt;I left the endpoint as &lt;CODE&gt;/services/collector/event&lt;/CODE&gt; and my props/transforms are working.&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;[host::127.0.0.1]&lt;BR /&gt;
TRANSFORMS-$hostname_rename = host_rename_$hostname&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;[host_rename_$hostname] &lt;BR /&gt;
REGEX = (.*)&lt;BR /&gt;
DEST_KEY = MetaData:Host &lt;BR /&gt;
FORMAT = host::$hostname&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:48:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/HEC-HTTP-Event-Collector-host-rename-using-props-transforms/m-p/462269#M79788</guid>
      <dc:creator>merrelr</dc:creator>
      <dc:date>2020-09-30T04:48:24Z</dc:date>
    </item>
  </channel>
</rss>

