<?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: Using transforms.conf to change metadata format from key::value in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708832#M117088</link>
    <description>&lt;P&gt;Thanks for your help with this.&lt;BR /&gt;In the meantime I've run into another problem. Could you please help me?&lt;BR /&gt;This is the topic: &lt;A href="https://community.splunk.com/t5/Getting-Data-In/conditional-whitespace-in-transform/m-p/708831" target="_blank"&gt;https://community.splunk.com/t5/Getting-Data-In/conditional-whitespace-in-transform/m-p/708831&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jan 2025 05:44:36 GMT</pubDate>
    <dc:creator>wowbaggerHU</dc:creator>
    <dc:date>2025-01-15T05:44:36Z</dc:date>
    <item>
      <title>Using transforms.conf to change metadata format from key::value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708547#M117053</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello everyone!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to ask about the Splunk Heavy Forwarder Splunk-side config:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="https://splunk.github.io/splunk-connect-for-syslog/main/sources/vendor/Splunk/heavyforwarder/" target="_blank" rel="noopener noreferrer"&gt;https://splunk.github.io/splunk-connect-for-syslog/main/sources/vendor/Splunk/heavyforwarder/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With those settings it will send the metadata in the format of key::value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to reconfigure it to send metadata key-value pairs with some other key-value separator instead of "::"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If yes, how exactly?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jan 2025 14:29:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708547#M117053</guid>
      <dc:creator>wowbaggerHU</dc:creator>
      <dc:date>2025-01-12T14:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using transforms.conf to change metadata format from key::value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708577#M117054</link>
      <description>&lt;P&gt;No. Indexed fields are indexed as key::value dearch terms. That's by design.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 07:43:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708577#M117054</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-01-13T07:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using transforms.conf to change metadata format from key::value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708581#M117055</link>
      <description>&lt;P&gt;I don't want to change how fields are indexed.&lt;BR /&gt;I just want to reformat the metadata (to use different key-value separators) via the transforms.conf prior to being forwarded to syslog-ng.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 08:16:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708581#M117055</guid>
      <dc:creator>wowbaggerHU</dc:creator>
      <dc:date>2025-01-13T08:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using transforms.conf to change metadata format from key::value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708582#M117056</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm not sure if I understand your requirements correctly? You want to reformat syslog feed before it has modified by HF? Or you want use some other metadata separator than :: ?&lt;/P&gt;&lt;P&gt;You could modify the data if you want before HF set it into metadata (and indexed fields).&lt;/P&gt;&lt;P&gt;BUT you cannot use your own metadata separator like =. In Splunk :: is fixed metadata separator and you must use it in transforms.conf and/or inputs.conf like _meta foo::bar&amp;nbsp;&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 08:30:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708582#M117056</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2025-01-13T08:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using transforms.conf to change metadata format from key::value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708585#M117057</link>
      <description>&lt;P&gt;Wait a moment. As far as I can read this - &lt;A href="https://splunk.github.io/splunk-connect-for-syslog/main/sources/vendor/Splunk/heavyforwarder/" target="_blank"&gt;https://splunk.github.io/splunk-connect-for-syslog/main/sources/vendor/Splunk/heavyforwarder/&lt;/A&gt; - the forwarded data will be formatted like&lt;/P&gt;&lt;P&gt;st="sourcetype" i="index"&lt;/P&gt;&lt;P&gt;and so on.&lt;/P&gt;&lt;P&gt;So where's the problem?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 09:03:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708585#M117057</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-01-13T09:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using transforms.conf to change metadata format from key::value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708586#M117058</link>
      <description>&lt;P&gt;What you are referring to is the syslog serialized data or SDATA (see RFC 5424) portion of the message. That consists of only 5 values (same as the Splunk JSON envelope's 5 top-level fields). And yes, those use the equals sign as a separator.&lt;/P&gt;&lt;P&gt;On the other hand the main part of the message will look like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;~~~SM~~~env::env01~~~EM~~~11/29/2024 02:01:55 PM\nLogName=Security\nEventCode=4624\nEventType=0\nComputerName=DESKTOP-OOU0O6E\nSourceName=Microsoft Windows security auditing.\nType=Information\nRecordNumber=49513\nKeywords=Audit Success\nTaskCategory=Logon\nOpCode=Info\nMessage=An account was successfully logged on.\r\n\r\nSubject:\r\n\tSecurity ID:\t\tNT AUTHORITY\\SYSTEM\r\n\tAccount Name:\t\tDESKTOP-OOU0O6E$\r\n\tAccount Domain:\t\tWORKGROUP\r\n\tLogon ID:\t\t0x3E7\r\n\r\nLogon Information:\r\n\tLogon Type:\t\t5\r\n\tRestricted Admin Mode:\t-\r\n\tVirtual Account:\t\tNo\r\n\tElevated Token:\t\tYes\r\n\r\nImpersonation Level:\t\tImpersonation\r\n\r\nNew Logon:\r\n\tSecurity ID:\t\tNT AUTHORITY\\SYSTEM\r\n\tAccount Name:\t\tSYSTEM\r\n\tAccount Domain:\t\tNT AUTHORITY\r\n\tLogon ID:\t\t0x3E7\r\n\tLinked Logon ID:\t\t0x0\r\n\tNetwork Account Name:\t-\r\n\tNetwork Account Domain:\t-\r\n\tLogon GUID:\t\t{00000000-0000-0000-0000-000000000000}\r\n\r\nProcess Information:\r\n\tProcess ID:\t\t0x2d4\r\n\tProcess Name:\t\tC:\\Windows\\System32\\services.exe\r\n\r\nNetwork Information:\r\n\tWorkstation Name:\t-\r\n\tSource Network Address:\t-\r\n\tSource Port:\t\t-\r\n\r\nDetailed Authentication Information:\r\n\tLogon Process:\t\tAdvapi  \r\n\tAuthentication Package:\tNegotiate\r\n\tTransited Services:\t-\r\n\tPackage Name (NTLM only):\t-\r\n\tKey Length:\t\t0\r\n\r\nThis event is generated when a logon session is created. It is generated on the computer that was accessed.\r\n\r\nThe subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.\r\n\r\nThe logon type field indicates the kind of logon that occurred. The most common types are 2 (interactive) and 3 (network).\r\n\r\nThe New Logon fields indicate the account for whom the new logon was created, i.e. the account that was logged on.\r\n\r\nThe network fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.\r\n\r\nThe impersonation level field indicates the extent to which a process in the logon session can impersonate.\r\n\r\nThe authentication information fields provide detailed information about this specific logon request.\r\n\t- Logon GUID is a unique identifier that can be used to correlate this event with a KDC event.\r\n\t- Transited services indicate which intermediate services have participated in this logon request.\r\n\t- Package name indicates which sub-protocol was used among the NTLM protocols.\r\n\t- Key length indicates the length of the generated session key. This will be 0 if no session key was requested.&lt;/LI-CODE&gt;&lt;P&gt;I would like to have the first part of the syslog message to have the metadata as env=env01 or env:env01.&lt;BR /&gt;As I understand the SC4S derived config allows you to modify most parts of the message. But is it possible for the metadata part too? If yes, how do I match to the metadata key-value pairs?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 09:29:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708586#M117058</guid>
      <dc:creator>wowbaggerHU</dc:creator>
      <dc:date>2025-01-13T09:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using transforms.conf to change metadata format from key::value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708587#M117059</link>
      <description>&lt;P&gt;OK. So this is not about Splunk's metadata format as much as rendering it for export.&lt;/P&gt;&lt;P&gt;I suppose you can tweak it a little.&lt;/P&gt;&lt;P&gt;The key part here is this transform&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;[metadata_meta]&lt;/SPAN&gt;
&lt;SPAN class=""&gt;SOURCE_KEY&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;_meta&lt;/SPAN&gt;
&lt;SPAN class=""&gt;REGEX&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;(?ims)(.*)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;FORMAT&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;~~~SM~~~$1~~~EM~~~$0&lt;/SPAN&gt; 
&lt;SPAN class=""&gt;DEST_KEY&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;_raw&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;It's being called as the first one (except for the one manipulating routing) and it exports whole _meta as-is.&lt;/P&gt;&lt;P&gt;So you need to change it to:&lt;/P&gt;&lt;PRE&gt;[sanitize_metadata]&lt;BR /&gt;INGEST_EVAL = escaped_meta=replace(_meta,"::","=")&lt;BR /&gt;&lt;SPAN class=""&gt;[metadata_meta]&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SOURCE_KEY&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; escaped&lt;SPAN class=""&gt;_meta&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;REGEX&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;(?ims)(.*)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;FORMAT&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;~~~SM~~~$1~~~EM~~~$0&lt;/SPAN&gt; 
&lt;SPAN class=""&gt;DEST_KEY&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;_raw&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;And of course adjust props to call the sanitize_metadata first&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;TRANSFORMS-zza-syslog&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;syslog_canforward, sanitize_metadata, metadata_meta,  metadata_source, metadata_sourcetype, metadata_index, metadata_host, metadata_subsecond, metadata_time, syslog_prefix, syslog_drop_zero&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Jan 2025 09:41:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708587#M117059</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-01-13T09:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using transforms.conf to change metadata format from key::value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708588#M117060</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I have a Windows machine with UF that sends its logs to a HF, which has the SC4S derived config loaded (see the opening entry's link). That allows to reformat the logs that passed through the HF to IETF 5424 syslog (with framing enabled) and forward them to a syslog instance.&lt;/P&gt;&lt;P&gt;That reformatting pretty much alters most parts of the original message.&lt;BR /&gt;In the output you will generally see the first half of the message (not counting the SDATA part) will contain the metadata fields in the key::value format.&lt;/P&gt;&lt;P&gt;I would like to change that in the syslog output generated by the config on the HF node.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 09:50:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708588#M117060</guid>
      <dc:creator>wowbaggerHU</dc:creator>
      <dc:date>2025-01-13T09:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using transforms.conf to change metadata format from key::value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708589#M117061</link>
      <description>&lt;P&gt;As a side note - pretty much every solution involving Windows and third party syslog breaks stuff somewhere.&lt;/P&gt;&lt;P&gt;Either breaks Splunk parsing or breaks the third party parsing. At some point something is almost sure to break.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 09:57:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708589#M117061</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-01-13T09:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using transforms.conf to change metadata format from key::value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708592#M117063</link>
      <description>&lt;P&gt;I checked it, but unfortunately it does not seem to work.&lt;BR /&gt;Now I can't seem to find logs that contain any metadata, so I assume they are being dropped due to some problem.&lt;/P&gt;&lt;P&gt;Where should I look for clues?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 11:00:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708592#M117063</guid>
      <dc:creator>wowbaggerHU</dc:creator>
      <dc:date>2025-01-13T11:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using transforms.conf to change metadata format from key::value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708593#M117064</link>
      <description>&lt;P&gt;I'm assuming you're receiving this on SC4S. So as you've changed the format of sent data, the receiving end probably doesn't know what to do with that.&lt;/P&gt;&lt;P&gt;First thing to check would be to sniff the traffic to see whether the data is being sent and what it looks like.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 11:28:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708593#M117064</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-01-13T11:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using transforms.conf to change metadata format from key::value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708594#M117065</link>
      <description>When you are replacing :: in _meta fields then receiving splunk instance don't recognize it any more as _meta data. And if there is no those mandatory meta fields then splunk cannot guess those and do what is needed for those events. Then based on receiver side configuration this data goes to default index or it will dropped.</description>
      <pubDate>Mon, 13 Jan 2025 11:35:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708594#M117065</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2025-01-13T11:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using transforms.conf to change metadata format from key::value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708623#M117066</link>
      <description>&lt;P&gt;I am forwarding the logs from the Splunk HF to a syslog-ng instance, that I configured myself so it doesn't matter here.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 16:01:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708623#M117066</guid>
      <dc:creator>wowbaggerHU</dc:creator>
      <dc:date>2025-01-13T16:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using transforms.conf to change metadata format from key::value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708630#M117067</link>
      <description>&lt;P&gt;No, it's a custom configured syslog-ng instance. that I set up.&lt;/P&gt;&lt;P&gt;After looking at the logs arriving, I saw that the logs that previously had the metadata part included, now have nothing instead and the separators (~~~EM~~~ and ~~~SM~~~) are missing too.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 16:26:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708630#M117067</guid>
      <dc:creator>wowbaggerHU</dc:creator>
      <dc:date>2025-01-13T16:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using transforms.conf to change metadata format from key::value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708649#M117069</link>
      <description>&lt;P&gt;I have played around a bit more...&lt;/P&gt;&lt;P&gt;This is what seems to be working for me:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[sanitize_metadata]
EVAL-_meta=replace(_meta,"::","=")

[metadata_meta]
SOURCE_KEY = _meta
REGEX = (?ims)(.*)
FORMAT = $1__-__$0 
DEST_KEY = _raw&lt;/LI-CODE&gt;&lt;P&gt;Note: __-__ is just a placeholder for a separator.&lt;/P&gt;&lt;P&gt;I found an article that is aiming at a marginally similar thing as I do:&lt;BR /&gt;&lt;A href="https://zchandikaz.medium.com/alter-splunk-data-at-indexing-time-a10c09713f51" target="_blank"&gt;https://zchandikaz.medium.com/alter-splunk-data-at-indexing-time-a10c09713f51&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There, the individual uses EVAL instead of INGEST_EVAL. Is there any significant difference?&lt;/P&gt;&lt;P&gt;Also, I changed your example because it worked differently if I did not use _meta as a target variable in the INGEST_EVAL.&lt;BR /&gt;I noticed that with your version, the logs that originated from the Windows machine with the UF on it, were missing the metadata assigned there. When I use my version, all the metadata set on the UF (static key-value pairs) is there in the log.&lt;BR /&gt;Any idea why that might be?&lt;BR /&gt;&lt;BR /&gt;Either way, thanks so much for your effort to help me! I really appreciate it!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 18:41:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708649#M117069</guid>
      <dc:creator>wowbaggerHU</dc:creator>
      <dc:date>2025-01-13T18:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using transforms.conf to change metadata format from key::value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708650#M117070</link>
      <description>&lt;P&gt;I can confirm, this type of setup does not work for the Windows logs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[sanitize_metadata]
EVAL-EEEE =replace(_meta,"::","=")

[metadata_meta]
SOURCE_KEY = EEEE
REGEX = (?ims)(.*)
FORMAT = $1__-__$0 
DEST_KEY = _raw&lt;/LI-CODE&gt;&lt;P&gt;The problem is that with this the Windows logs only contain the eventlog message part, as if they did not have any metadata attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 19:02:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708650#M117070</guid>
      <dc:creator>wowbaggerHU</dc:creator>
      <dc:date>2025-01-13T19:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using transforms.conf to change metadata format from key::value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708652#M117071</link>
      <description>&lt;P&gt;EVAL is a search-time configuration so it will not (I'm not eve&amp;nbsp; sure it's correct syntax in your example) work in index time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 19:49:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708652#M117071</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-01-13T19:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using transforms.conf to change metadata format from key::value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708715#M117074</link>
      <description>&lt;P&gt;Okay, I reverted to using INGEST_EVAL, that works as well.&lt;/P&gt;&lt;P&gt;On the other hand, I have an additional question:&lt;BR /&gt;If a given Splunk node is already forwarding logs to another node over S2S or S2S over HEC, and I want to add this configuration to send the logs to yet another destination (a node running syslog-ng), then will this configuration break the other pre-existing destinations' log format? Or is it safe to use from this perspective?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 08:13:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708715#M117074</guid>
      <dc:creator>wowbaggerHU</dc:creator>
      <dc:date>2025-01-14T08:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using transforms.conf to change metadata format from key::value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708720#M117076</link>
      <description>&lt;P&gt;It depends on your overall process but as a general rule, the pipeline works like this:&lt;/P&gt;&lt;P&gt;input -&amp;gt; transforms -&amp;gt; output(s)&lt;/P&gt;&lt;P&gt;So if you modify an event and its metadata it will get to outputs that way. There is an ugly way to avoid it - use CLONE_SOURCETYPE to make a copy of your event and process it independently but it's both a performance hit and a maintenance nightmare in the future.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 08:34:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708720#M117076</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-01-14T08:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using transforms.conf to change metadata format from key::value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708722#M117077</link>
      <description>&lt;P&gt;Thanks for clarifying. You helped a lot!&lt;BR /&gt;That means there are two options for me:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;do this conversion on the syslog-ng side and that won't hurt the splunk side of things&lt;/LI&gt;&lt;LI&gt;forward the logs to yet another splunk instance that will only do this conversion, thereby isolating the "production" Splunk instance from these transforms&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 14 Jan 2025 09:21:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-transforms-conf-to-change-metadata-format-from-key-value/m-p/708722#M117077</guid>
      <dc:creator>wowbaggerHU</dc:creator>
      <dc:date>2025-01-14T09:21:55Z</dc:date>
    </item>
  </channel>
</rss>

