<?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: Transform.conf is not working in Other Usage</title>
    <link>https://community.splunk.com/t5/Other-Usage/Transform-conf-is-not-working/m-p/695183#M1827</link>
    <description>&lt;P&gt;Put the props and transforms on the indexers and search heads.&amp;nbsp; If the forwarders are heavy forwarders then they go there, too.&lt;/P&gt;&lt;P&gt;What is the "Master Deployment"?&amp;nbsp; That's not a Splunk term.&lt;/P&gt;</description>
    <pubDate>Sun, 04 Aug 2024 16:52:46 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2024-08-04T16:52:46Z</dc:date>
    <item>
      <title>Transform.conf is not working</title>
      <link>https://community.splunk.com/t5/Other-Usage/Transform-conf-is-not-working/m-p/695171#M1824</link>
      <description>&lt;P&gt;I'm trying to extract field for Symantec ProxySG with transform.conf &amp;amp; props.conf but it isn't working.&lt;/P&gt;
&lt;P&gt;Here is the sample logs:&lt;/P&gt;
&lt;P&gt;Aug &amp;nbsp;4 16:31:58 2024-08-04 08: 31:28 "hostname" 5243 xx.xx.xx.xx 200 TCP_TUNNELED 6392 2962 CONNECT tcp domain.com 443 / - yyyy - xx.xx.xx.xx xx.xx.xx.xx "None" - - - - OBSERVED - - xx.xx.xx.xx - 7b711515341865e8-0000000008da5077-0000000066af3c5e - -&lt;/P&gt;
&lt;P&gt;Here is my configuration:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;REGEX = ^.*"CN-SH-PSG-01"\s+(?&amp;lt;bytes_in&amp;gt;\d+)\s+(?&amp;lt;client_ip&amp;gt;\d+\.\d+\.\d+\.\d+)\s+(?&amp;lt;status_code&amp;gt;\d+)\s+(?&amp;lt;action&amp;gt;[^\s]+)\s+(?&amp;lt;bytes_out&amp;gt;\d+)\s+(?&amp;lt;bytes_out2&amp;gt;[^\s]+)\s+(?&amp;lt;http_method&amp;gt;[^\s]+)\s+(?&amp;lt;protocol&amp;gt;[^\s]+)\s+(?&amp;lt;domain&amp;gt;[^\s]+)\s+(?&amp;lt;port&amp;gt;\d+)\s+[^\s]+\s+(?&amp;lt;user&amp;gt;[^\s]+)\s+[^\s]+\s+[^\s]+\s+(?&amp;lt;mime_type&amp;gt;[^\s]+)\s+[^\s]+\s+"(?&amp;lt;user_agent&amp;gt;[^"]+)"FORMAT = bytes_in::$1 client_ip::$2 status_code::$3 action::$4 bytes_out::$5 bytes_out2::$6 http_method::$7 protocol::$8 domain::$9 port::$10 user::$11 mime_type::$12 user_agent::$13

 

 

[source::syslog]

TRANSFORMS-proxysg_field_extraction = proxysg_field_extraction&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried to change the config but the result teh field is not extracted &amp;amp; I have tried my regex using regex101.com and is doing fine&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2024 13:18:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Transform-conf-is-not-working/m-p/695171#M1824</guid>
      <dc:creator>agralrst</dc:creator>
      <dc:date>2024-08-04T13:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Transform.conf is not working</title>
      <link>https://community.splunk.com/t5/Other-Usage/Transform-conf-is-not-working/m-p/695174#M1825</link>
      <description>&lt;P&gt;The regex does not match the sample event.&amp;nbsp; It will only work for events from the host "CN-SH-PSG-01".&amp;nbsp; To match any host name, try this regex:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"(?:[\w-]+)"\s+(?&amp;lt;bytes_in&amp;gt;\d+)\s+(?&amp;lt;client_ip&amp;gt;\d+\.\d+\.\d+\.\d+)\s+(?&amp;lt;status_code&amp;gt;\d+)\s+(?&amp;lt;action&amp;gt;[^\s]+)\s+(?&amp;lt;bytes_out&amp;gt;\d+)\s+(?&amp;lt;bytes_out2&amp;gt;[^\s]+)\s+(?&amp;lt;http_method&amp;gt;[^\s]+)\s+(?&amp;lt;protocol&amp;gt;[^\s]+)\s+(?&amp;lt;domain&amp;gt;[^\s]+)\s+(?&amp;lt;port&amp;gt;\d+)\s+[^\s]+\s+(?&amp;lt;user&amp;gt;[^\s]+)\s+[^\s]+\s+[^\s]+\s+(?&amp;lt;mime_type&amp;gt;[^\s]+)\s+[^\s]+\s+"(?&amp;lt;user_agent&amp;gt;[^"]+)"&lt;/LI-CODE&gt;&lt;P&gt;Notice I removed the meaningless "^.*" from the beginning.&amp;nbsp; That is implied in all regular expressions without the ^ anchor.&lt;/P&gt;&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;FORMAT&lt;/FONT&gt; setting must be on a separate line, but I presume that's a copy-paste error.&lt;/P&gt;&lt;P&gt;Changes to transforms require a restart of the indexer and apply only to new events.&lt;/P&gt;&lt;P&gt;Make sure the source name associated with the data is exactly "syslog".&amp;nbsp;&amp;nbsp; If it doesn't, try using the sourcetype name.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2024 13:40:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Transform-conf-is-not-working/m-p/695174#M1825</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-08-04T13:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Transform.conf is not working</title>
      <link>https://community.splunk.com/t5/Other-Usage/Transform-conf-is-not-working/m-p/695180#M1826</link>
      <description>&lt;P&gt;anyway I have distributed deployment&lt;/P&gt;&lt;P&gt;- Master Depoloyment&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Deployer&lt;/P&gt;&lt;P&gt;- INdexer A&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Indexer B&amp;nbsp;&lt;/P&gt;&lt;P&gt;- License Master + Monitoring console&lt;/P&gt;&lt;P&gt;- Forwarder A&amp;nbsp;&lt;/P&gt;&lt;P&gt;- FOrwarder B&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Search Head A&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Search Head B&lt;/P&gt;&lt;P&gt;- Search Head C&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where should I add the props.conf and transform.conf?&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2024 15:33:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Transform-conf-is-not-working/m-p/695180#M1826</guid>
      <dc:creator>agralrst</dc:creator>
      <dc:date>2024-08-04T15:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Transform.conf is not working</title>
      <link>https://community.splunk.com/t5/Other-Usage/Transform-conf-is-not-working/m-p/695183#M1827</link>
      <description>&lt;P&gt;Put the props and transforms on the indexers and search heads.&amp;nbsp; If the forwarders are heavy forwarders then they go there, too.&lt;/P&gt;&lt;P&gt;What is the "Master Deployment"?&amp;nbsp; That's not a Splunk term.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2024 16:52:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Transform-conf-is-not-working/m-p/695183#M1827</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-08-04T16:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Transform.conf is not working</title>
      <link>https://community.splunk.com/t5/Other-Usage/Transform-conf-is-not-working/m-p/695190#M1828</link>
      <description>&lt;P&gt;I mean it's deployment server &amp;amp; Master Node.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I add the props.conf &amp;amp; transform.conf in deployment server and then run this command?&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk reload deploy-server&lt;/P&gt;&lt;P&gt;I'm sorry for asking the basic thing I'm new in Splunk.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 02:54:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Transform-conf-is-not-working/m-p/695190#M1828</guid>
      <dc:creator>agralrst</dc:creator>
      <dc:date>2024-08-05T02:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Transform.conf is not working</title>
      <link>https://community.splunk.com/t5/Other-Usage/Transform-conf-is-not-working/m-p/695191#M1829</link>
      <description>and the input is only configured in heavy forwarder B but when I put the transform.conf in HF B, it isn't working</description>
      <pubDate>Mon, 05 Aug 2024 02:56:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Transform-conf-is-not-working/m-p/695191#M1829</guid>
      <dc:creator>agralrst</dc:creator>
      <dc:date>2024-08-05T02:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Transform.conf is not working</title>
      <link>https://community.splunk.com/t5/Other-Usage/Transform-conf-is-not-working/m-p/695252#M1830</link>
      <description>&lt;P&gt;Yes, you can run the reload deploy-server command and should install the props and transforms on the forwarders (if done correctly).&amp;nbsp; It will not install them on indexers or search heads.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 12:26:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Transform-conf-is-not-working/m-p/695252#M1830</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-08-05T12:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Transform.conf is not working</title>
      <link>https://community.splunk.com/t5/Other-Usage/Transform-conf-is-not-working/m-p/695253#M1831</link>
      <description>&lt;P&gt;There are many reasons why a transform might not work.&amp;nbsp; The most common is the regular expression doesn't match the incoming data.&amp;nbsp; It's also possible the source name doesn't match what's in props.conf so the transform is never invoked.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 12:28:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Transform-conf-is-not-working/m-p/695253#M1831</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-08-05T12:28:11Z</dc:date>
    </item>
  </channel>
</rss>

