<?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 Unable to override host value with event data in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-override-host-value-with-event-data/m-p/712159#M117602</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to replace the host value that is the UF with event data as the value.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;ACME-001&lt;/STRONG&gt; PROD-MFS-003: status="200/0" srcip="1.0.0.1" user="a7bk28" dhost="&lt;A href="http://test_web.net/contents/content2.jpg?ee=ff&amp;amp;gg=hh" target="_blank"&gt;http://test_web.net/contents/content2.jpg?ee=ff&amp;amp;gg=hh&lt;/A&gt;" urlp="10" proto="HTTP/http" mtd="GET" urlc="Music" rep="24" mt="image/jpeg" mlwr="-" app="-" bytes="601/274/31302/00012" ua="Mozilla/5.0 (webOS/1.3; U; en-US) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/1.0 Safari/525.27.1 Desktop/1.0" lat="0/0/05/14" rule="rule14 bad" url="&lt;A href="http://test_web.com/page5/e.jpg?ee=ff&amp;amp;gg=hh" target="_blank"&gt;http://test_web.com/page5/e.jpg?ee=ff&amp;amp;gg=hh&lt;/A&gt;"&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;ACME-001&lt;/STRONG&gt; PROD-POS-006: status="200/0" srcip="1.0.0.13" user="ItsEmeline" dhost="&lt;A href="http://test_web.net/users/user2.jpg?ee=ff&amp;amp;gg=hh" target="_blank"&gt;http://test_web.net/users/user2.jpg?ee=ff&amp;amp;gg=hh&lt;/A&gt;" urlp="10" proto="HTTP/http" mtd="GET" urlc="Beauty" rep="21" mt="application/xml" mlwr="-" app="-" bytes="534/020/100/130" ua="Mozilla/5.0 (X11; Linux x86_64; rv:7.0a1) Gecko/20110623 Firefox/7.0a1" lat="0/10/026/105" rule="rule12 bad" url="&lt;A href="http://test_web.net/contents/content2.jpg?ee=ff&amp;amp;gg=hh" target="_blank"&gt;http://test_web.net/contents/content2.jpg?ee=ff&amp;amp;gg=hh&lt;/A&gt;"&lt;BR /&gt;&lt;STRONG&gt;&lt;BR /&gt;ACME-001&amp;nbsp;&lt;/STRONG&gt;is what I want to be placed in as the value for the host field. These are teh props and transforms that I am using.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;props.conf&lt;BR /&gt;&lt;BR /&gt;[mcafee:wg:kv]&lt;BR /&gt;TRANSFORMS-changehost = changehost&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;BR /&gt;DATETIME_CONFIG = current&lt;BR /&gt;&lt;BR /&gt;transforms.conf&lt;/P&gt;&lt;P&gt;[changehost]&lt;BR /&gt;DEST_KEY = MetaData:Host&lt;BR /&gt;REGEX = ^(?P&amp;lt;host&amp;gt;\S+)&lt;BR /&gt;FORMAT = host::$1&lt;BR /&gt;&lt;BR /&gt;I have also tried&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;^(\S+) for the regex&lt;BR /&gt;&lt;BR /&gt;I have 1 SH, 1 CM, 2 IDX and 1 UF&lt;BR /&gt;&lt;BR /&gt;I have put the props and transforms in app and pushed them to the indexers from the CM. They are on both indexes in /opt/splunk/etc/peer-apps&lt;BR /&gt;&lt;BR /&gt;I have a TA that has the same sourcetype that I am using in props in my app. Im wondering if I should add the props and transforms to a local folder in the TA instead of having them in a separate app.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any suggestions would be much appreciated.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2025 01:21:30 GMT</pubDate>
    <dc:creator>boknows</dc:creator>
    <dc:date>2025-02-21T01:21:30Z</dc:date>
    <item>
      <title>Unable to override host value with event data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-override-host-value-with-event-data/m-p/712159#M117602</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to replace the host value that is the UF with event data as the value.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;ACME-001&lt;/STRONG&gt; PROD-MFS-003: status="200/0" srcip="1.0.0.1" user="a7bk28" dhost="&lt;A href="http://test_web.net/contents/content2.jpg?ee=ff&amp;amp;gg=hh" target="_blank"&gt;http://test_web.net/contents/content2.jpg?ee=ff&amp;amp;gg=hh&lt;/A&gt;" urlp="10" proto="HTTP/http" mtd="GET" urlc="Music" rep="24" mt="image/jpeg" mlwr="-" app="-" bytes="601/274/31302/00012" ua="Mozilla/5.0 (webOS/1.3; U; en-US) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/1.0 Safari/525.27.1 Desktop/1.0" lat="0/0/05/14" rule="rule14 bad" url="&lt;A href="http://test_web.com/page5/e.jpg?ee=ff&amp;amp;gg=hh" target="_blank"&gt;http://test_web.com/page5/e.jpg?ee=ff&amp;amp;gg=hh&lt;/A&gt;"&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;ACME-001&lt;/STRONG&gt; PROD-POS-006: status="200/0" srcip="1.0.0.13" user="ItsEmeline" dhost="&lt;A href="http://test_web.net/users/user2.jpg?ee=ff&amp;amp;gg=hh" target="_blank"&gt;http://test_web.net/users/user2.jpg?ee=ff&amp;amp;gg=hh&lt;/A&gt;" urlp="10" proto="HTTP/http" mtd="GET" urlc="Beauty" rep="21" mt="application/xml" mlwr="-" app="-" bytes="534/020/100/130" ua="Mozilla/5.0 (X11; Linux x86_64; rv:7.0a1) Gecko/20110623 Firefox/7.0a1" lat="0/10/026/105" rule="rule12 bad" url="&lt;A href="http://test_web.net/contents/content2.jpg?ee=ff&amp;amp;gg=hh" target="_blank"&gt;http://test_web.net/contents/content2.jpg?ee=ff&amp;amp;gg=hh&lt;/A&gt;"&lt;BR /&gt;&lt;STRONG&gt;&lt;BR /&gt;ACME-001&amp;nbsp;&lt;/STRONG&gt;is what I want to be placed in as the value for the host field. These are teh props and transforms that I am using.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;props.conf&lt;BR /&gt;&lt;BR /&gt;[mcafee:wg:kv]&lt;BR /&gt;TRANSFORMS-changehost = changehost&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;BR /&gt;DATETIME_CONFIG = current&lt;BR /&gt;&lt;BR /&gt;transforms.conf&lt;/P&gt;&lt;P&gt;[changehost]&lt;BR /&gt;DEST_KEY = MetaData:Host&lt;BR /&gt;REGEX = ^(?P&amp;lt;host&amp;gt;\S+)&lt;BR /&gt;FORMAT = host::$1&lt;BR /&gt;&lt;BR /&gt;I have also tried&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;^(\S+) for the regex&lt;BR /&gt;&lt;BR /&gt;I have 1 SH, 1 CM, 2 IDX and 1 UF&lt;BR /&gt;&lt;BR /&gt;I have put the props and transforms in app and pushed them to the indexers from the CM. They are on both indexes in /opt/splunk/etc/peer-apps&lt;BR /&gt;&lt;BR /&gt;I have a TA that has the same sourcetype that I am using in props in my app. Im wondering if I should add the props and transforms to a local folder in the TA instead of having them in a separate app.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any suggestions would be much appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2025 01:21:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-override-host-value-with-event-data/m-p/712159#M117602</guid>
      <dc:creator>boknows</dc:creator>
      <dc:date>2025-02-21T01:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to override host value with event data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-override-host-value-with-event-data/m-p/712236#M117618</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/276693"&gt;@boknows&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;please don't duplicate questions!&lt;/P&gt;&lt;P&gt;See my answer to your other question:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Splunk-Search/Host-override-with-event-data/m-p/712235#M240309" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Search/Host-override-with-event-data/m-p/712235#M240309&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2025 16:31:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-override-host-value-with-event-data/m-p/712236#M117618</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2025-02-21T16:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to override host value with event data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-override-host-value-with-event-data/m-p/712239#M117619</link>
      <description>&lt;P&gt;Sorry. The first time I sent it it said it was reported as spam so wasnt sure it went through&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2025 16:37:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-override-host-value-with-event-data/m-p/712239#M117619</guid>
      <dc:creator>boknows</dc:creator>
      <dc:date>2025-02-21T16:37:47Z</dc:date>
    </item>
  </channel>
</rss>

