<?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: Can I use a _meta variable from inputs in a transforms on the same heavy forwarder? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761532#M120551</link>
    <description>&lt;P&gt;Thank you very much, the ruleset worked. Currently, I have configured it as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;inputs.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;[splunktcp://9996]&lt;/SPAN&gt;
&lt;SPAN class=""&gt;disabled&lt;/SPAN&gt; = &lt;SPAN class=""&gt;false&lt;/SPAN&gt;
&lt;SPAN class=""&gt;connection_host&lt;/SPAN&gt; = ip
&lt;SPAN class=""&gt;#acceptFrom = 10.128.21.11, 10.128.21.12, 10.128.21.13&lt;/SPAN&gt;
&lt;SPAN class=""&gt;_meta&lt;/SPAN&gt; = company::smartcity splunktcp::splunktcp://&lt;SPAN class=""&gt;9996&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;[default]&lt;/SPAN&gt;
&lt;SPAN class=""&gt;RULESET-ruleset_test_syslog_firewall&lt;/SPAN&gt; = _rule:ruleset_test_syslog_firewall:set_index:smartcity&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt; I created an ingest eval that saves the original index into an original_index variable, and then alters the index field, making sure to act only if the splunktcp meta exists and is set to "splunktcp://9996" (which is set in inputs). (Line breaks added for readability):&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;[_rule:ruleset_test_syslog_firewall:set_index:smartcity]&lt;/SPAN&gt;
&lt;SPAN class=""&gt;INGEST_EVAL&lt;/SPAN&gt; = &lt;BR /&gt;original_index:=index, &lt;BR /&gt;index:=case(&lt;BR /&gt;index=&lt;SPAN class=""&gt;"axonius"&lt;/SPAN&gt; AND splunktcp=&lt;SPAN class=""&gt;"splunktcp://9996"&lt;/SPAN&gt;,&lt;SPAN class=""&gt;"main"&lt;/SPAN&gt;, &lt;BR /&gt;index=&lt;SPAN class=""&gt;"traffic_a2a"&lt;/SPAN&gt; AND splunktcp=&lt;SPAN class=""&gt;"splunktcp://9996"&lt;/SPAN&gt;, &lt;SPAN class=""&gt;"main"&lt;/SPAN&gt;, &lt;BR /&gt;splunktcp=&lt;SPAN class=""&gt;"splunktcp://9996"&lt;/SPAN&gt;,&lt;SPAN class=""&gt;"custom_support_index"&lt;/SPAN&gt;, &lt;BR /&gt;&lt;SPAN class=""&gt;true&lt;/SPAN&gt;(), index&lt;BR /&gt;)&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I was wondering, is it absolutely mandatory to set the stanza as [default] in props.conf, or is there a way to narrow the scope and have that ruleset apply &lt;I&gt;only&lt;/I&gt; to events received via the splunktcp protocol?&lt;/P&gt;&lt;P&gt;I would like to avoid overloading the HF (Heavy Forwarder) by applying the rule to all incoming events.&lt;BR /&gt;&lt;BR /&gt;Thank you very much!&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jun 2026 15:47:09 GMT</pubDate>
    <dc:creator>lorenzoromio</dc:creator>
    <dc:date>2026-06-09T15:47:09Z</dc:date>
    <item>
      <title>Can I use a _meta variable from inputs in a transforms on the same heavy forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/507090#M86289</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I have a business requirement where I need to index data from multiple of our vendors that also use Splunk.&lt;/P&gt;&lt;P&gt;The vendors have added a&amp;nbsp;_TCP_ROUTING to send data to both our Heavy Forwarders and their own infrastructure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dedicated port for each vendor in my inputs.conf on the Heavy Forwarder:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[splunktcp-ssl:9997]
disabled = 0
_meta userindex::splunk_test&lt;/LI-CODE&gt;&lt;P&gt;My idea was to have a different userindex for each input stanza&lt;/P&gt;&lt;P&gt;Next step is a generic props.conf:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[host::*]
TRANSFORMS-force_index = force_index&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally I was hoping it would be possible to do the magic in my transforms.conf:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[force_index]
DEST_KEY = MetaData:Sourcetype
REGEX = (.+)
FORMAT = $1
SOURCE_KEY = _meta:userindex
WRITE_META = true&lt;/LI-CODE&gt;&lt;P&gt;I know I'm not rewriting the index, but it is easier to look at the sourcetype, as the events get indexed and it should be a small change to rewrite the index instead of the sourcetype.&lt;/P&gt;&lt;P&gt;Long story... so to the question.&lt;/P&gt;&lt;P&gt;Is it possible to reference the _meta variable I have set in the input stanza in the regex of the transform on the same Heavy Forwarder?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Lars&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S.&lt;/P&gt;&lt;P&gt;I agree it is a bad idea to rewrite the index, it should be set at the source, but I think it is necessary, as our indexes do not match those of our vendors and I want each vendors data to be indexed in the same index.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 14:18:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/507090#M86289</guid>
      <dc:creator>las</dc:creator>
      <dc:date>2020-07-02T14:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a _meta variable from inputs in a transforms on the same heavy forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761445#M120543</link>
      <description>&lt;P&gt;I'm facing the exact same issue for the exact same requirement. Did you ever find a solution over the last 6 years?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2026 11:39:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761445#M120543</guid>
      <dc:creator>lorenzoromio</dc:creator>
      <dc:date>2026-06-05T11:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a _meta variable from inputs in a transforms on the same heavy forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761446#M120544</link>
      <description>&lt;P&gt;It is a quite old thread but there are some things which can be said.&lt;/P&gt;&lt;P&gt;In general, I believe&amp;nbsp; that yes, you should be able to reference a field you're setting on input. But you might need to just use SOURCE_KEY=userindex instead of referencing whole _meta.&lt;/P&gt;&lt;P&gt;The main problem here is that if your data comes in as parsed, it won't be touched by TRANSFORMS. You need to use RULESET. And you need to define a ruleset for [default] stanza (ok, you might do a wildcarded host stanza as well but somehow I find it less easy to read but YMMV)&amp;nbsp; because you have no control of what the source is sending. That's just one of the assumptions with s2s - you implicitly trust the sender and trust that the metadata is correct.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2026 12:33:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761446#M120544</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2026-06-05T12:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a _meta variable from inputs in a transforms on the same heavy forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761452#M120545</link>
      <description>&lt;P&gt;Thank you for the response, appreciated.&lt;BR /&gt;&lt;BR /&gt;Actually, my situation is &lt;EM&gt;slightly&lt;/EM&gt; different.&lt;BR /&gt;As mentioned before, I need to receive data from a Splunk instance that we do not control, which is already indexing the data in its own on-prem Splunk environment.&lt;/P&gt;&lt;P&gt;The issue is that t&lt;U&gt;he index names they send their logs to are generic&lt;/U&gt;, whereas I need to name the indices using a specific nomenclature in my Splunk istance.&lt;BR /&gt;Therefore, I need to intercept their logs and modify the index name that arrives via the cooked data.&lt;/P&gt;&lt;P&gt;To test that configuration, I performed a local test.&lt;/P&gt;&lt;P&gt;I created a TCP input on port 19999 configured as follows:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;[tcp://19999]&lt;/SPAN&gt;
&lt;SPAN class=""&gt;disabled&lt;/SPAN&gt; = &lt;SPAN class=""&gt;false&lt;/SPAN&gt;
&lt;SPAN class=""&gt;connection_host&lt;/SPAN&gt; = ip
&lt;SPAN class=""&gt;index&lt;/SPAN&gt; = axonius
&lt;SPAN class=""&gt;sourcetype&lt;/SPAN&gt; = test_syslog_firewall
&lt;STRONG&gt;&lt;SPAN class=""&gt;_TCP_ROUTING&lt;/SPAN&gt; = test_loopback_9996&lt;/STRONG&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;A second input configured like this:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;[&lt;STRONG&gt;splunktcp&lt;/STRONG&gt;://9996]&lt;/SPAN&gt;
&lt;SPAN class=""&gt;disabled&lt;/SPAN&gt; = &lt;SPAN class=""&gt;false&lt;/SPAN&gt;
&lt;SPAN class=""&gt;connection_host&lt;/SPAN&gt; = ip
&lt;STRONG&gt;&lt;SPAN class=""&gt;_meta&lt;/SPAN&gt; = provenienza::smartcity&lt;/STRONG&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;An outputs.conf configured to forward the logs back to itself on another port, with sendCookedData set to true:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;BR /&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;[tcpout:&lt;STRONG&gt;test_loopback_9996&lt;/STRONG&gt;]&lt;/SPAN&gt;
&lt;SPAN class=""&gt;server&lt;/SPAN&gt; = &lt;SPAN class=""&gt;127.0&lt;/SPAN&gt;.&lt;SPAN class=""&gt;0.1&lt;/SPAN&gt;:&lt;SPAN class=""&gt;9996&lt;/SPAN&gt;
&lt;SPAN class=""&gt;# Forcing transmission in standard Splunk ("cooked") mode&lt;/SPAN&gt;
&lt;STRONG&gt;&lt;SPAN class=""&gt;sendCookedData&lt;/SPAN&gt; = &lt;SPAN class=""&gt;true&lt;/SPAN&gt;
&lt;/STRONG&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;After that, I configured a props.conf:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;[&lt;STRONG&gt;splunktcp&lt;/STRONG&gt;]&lt;/SPAN&gt;
&lt;SPAN class=""&gt;TRANSFORMS-force_index_main&lt;/SPAN&gt; = check_tag_and_set_main_index&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;And the corresponding transforms.conf:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;[&lt;STRONG&gt;check_tag_and_set_main_index&lt;/STRONG&gt;]&lt;/SPAN&gt;
&lt;SPAN class=""&gt;SOURCE_KEY&lt;/SPAN&gt; = _meta
&lt;SPAN class=""&gt;REGEX&lt;/SPAN&gt; = provenienza::smartcity
&lt;SPAN class=""&gt;DEST_KEY&lt;/SPAN&gt; = _MetaData:Index
&lt;SPAN class=""&gt;FORMAT&lt;/SPAN&gt; = main&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Then I sent a log to port 19999. The log is indeed successfully routed to test_loopback_9996, a behavior confirmed by the fact that it gets assigned _meta = provenienza::smartcity, but then I cannot get it to change the index. It gets ingested into the axonius index instead of main.&lt;/P&gt;&lt;P&gt;I believe the stanza [splunktcp] set in props.conf is not working as expected. Could you give me some tips?&lt;/P&gt;&lt;P&gt;Furthermore, while this approach might work for changing the index arbitrarily, what I actually need is to be able to&lt;STRONG&gt;&lt;U&gt; intercept the logs arriving on splunktcp:9996 and dynamically route them.&lt;/U&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;If the incoming index is windows, change it to windows_smartcity.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If the incoming index is linux, change it to linux_smartcity, and so on.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Right now, I am not sure how to achieve this because my current transform try to intercepts a metadata field (_meta) to change the index. Instead, I need to intercept the incoming index name itself and modify it based on its original value but &lt;STRONG&gt;only&lt;/STRONG&gt; for the events arriving through that specific splunktcp port.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2026 16:32:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761452#M120545</guid>
      <dc:creator>lorenzoromio</dc:creator>
      <dc:date>2026-06-05T16:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a _meta variable from inputs in a transforms on the same heavy forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761454#M120546</link>
      <description>&lt;P&gt;As I already wrote (albeit in a shorter form) - if you're receiving data which has already gone through a full Splunk Enterprise instance (indexer, HF...) or comes from a UF but has been ingested with indexed extractions configured, it is already parsed and will _not_ go through your transforms. You need to use RULESET instead of TRANSFORMS to process them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: Alternatively you could probably use the "route" option in your input and send all data again to typingQueue but this is not a very well docummented option and it might not be easy to debug should anything go wrong.&lt;/P&gt;&lt;P&gt;Anyway, each of those methods has its pros and cons. If you use RULESET, your data will only hit that ruleset (and maybe other ones you have defined). If you send the data to typingQueue your data will get affected by index-time operations defined by your add-ons which might or might not be what you want.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jun 2026 19:47:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761454#M120546</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2026-06-06T19:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a _meta variable from inputs in a transforms on the same heavy forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761461#M120547</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/317408"&gt;@lorenzoromio&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Expanding on &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;'s suggestions, you can brute force events through parsingQueue to open up not only typingQueue behavior but all functions you would expect a heavy forwarder or receiver to perform, irrespective of the event disposition. This is my preferred solution for handling events from an external forwarder in a pure Splunk environment.&lt;/P&gt;&lt;P&gt;In an app or in $SPLUNK_HOME/etc/system/local/inputs.conf, override the [splunktcp] stanza route setting, and change has_key:_linebreaker:rulesetQueue to has_key:_linebreaker:parsingQueue:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;[splunktcp]
route=has_key:_replicationBucketUUID:replicationQueue;has_key:_dstrx:typingQueue;has_key:_linebreaker:parsingQueue;absent_key:_linebreaker:parsingQueue&lt;/LI-CODE&gt;&lt;P&gt;You must still be mindful of the structure of received events, but all props.conf and transforms.conf settings will be available to you.&lt;/P&gt;&lt;P&gt;Better practices using EVENT_BREAKER etc. at the forwarder do not change, but since the forwarder is outside your control, you'll have more flexibility in vetting and parsing events.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2026 16:24:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761461#M120547</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2026-06-07T16:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a _meta variable from inputs in a transforms on the same heavy forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761462#M120548</link>
      <description>&lt;P&gt;You're touching an interesting topic here.&lt;/P&gt;&lt;P&gt;Have you actually tried moving the processing as far back as parsingQueue? Intuition hints that since the parsed data is already in UTF, the input stream has already been split into single events, parsingQueue shouldn't actually do much at this point. Maybe some metrics manipulation.&lt;/P&gt;&lt;P&gt;I also wonder how would re-merging events in aggQueue affect already created indexed fields...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2026 20:41:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761462#M120548</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2026-06-07T20:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a _meta variable from inputs in a transforms on the same heavy forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761464#M120549</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/317408"&gt;@lorenzoromio&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;The underlying problem is that normal behavior for a UF, is to send cooked data, and as the data is allready cooked, your HF will take what is sent to it as gospel truth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whar I ended up doing was to use ingest eval and build some rather long case() expressions to ensure data is stored in the right indexes.&lt;/P&gt;&lt;P&gt;Ingest actions could also be a possibility now.&lt;/P&gt;&lt;P&gt;If I had to do this again I would also look at Edge processor&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;las&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2026 06:51:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761464#M120549</guid>
      <dc:creator>las</dc:creator>
      <dc:date>2026-06-08T06:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a _meta variable from inputs in a transforms on the same heavy forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761481#M120550</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/36534"&gt;@las&lt;/a&gt;&amp;nbsp;Your response is not correct. Or - to be more precise - it's partially correct but you draw wrong conclusions from it. Yes, UF by default sends cooked data but it is only cooked, not cooked and parsed (unless you're using indexed extractions but that's a story for another day). Cooked data _is_ getting through all normal phases of processing - line breaking, timestamp recognition and so on.&lt;/P&gt;&lt;P&gt;So your ingest evals will only work if you're indeed getting unparsed data from UFs. It will _not_ work if you're getting parsed data from other HFs (or SHs, or a copy from indexers) or parsed data from UFs which has undergone indexed extractions.&lt;/P&gt;&lt;P&gt;BTW, ingest actions are RULESETs just with added fancy UI.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2026 17:38:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761481#M120550</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2026-06-08T17:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a _meta variable from inputs in a transforms on the same heavy forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761532#M120551</link>
      <description>&lt;P&gt;Thank you very much, the ruleset worked. Currently, I have configured it as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;inputs.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;[splunktcp://9996]&lt;/SPAN&gt;
&lt;SPAN class=""&gt;disabled&lt;/SPAN&gt; = &lt;SPAN class=""&gt;false&lt;/SPAN&gt;
&lt;SPAN class=""&gt;connection_host&lt;/SPAN&gt; = ip
&lt;SPAN class=""&gt;#acceptFrom = 10.128.21.11, 10.128.21.12, 10.128.21.13&lt;/SPAN&gt;
&lt;SPAN class=""&gt;_meta&lt;/SPAN&gt; = company::smartcity splunktcp::splunktcp://&lt;SPAN class=""&gt;9996&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;[default]&lt;/SPAN&gt;
&lt;SPAN class=""&gt;RULESET-ruleset_test_syslog_firewall&lt;/SPAN&gt; = _rule:ruleset_test_syslog_firewall:set_index:smartcity&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt; I created an ingest eval that saves the original index into an original_index variable, and then alters the index field, making sure to act only if the splunktcp meta exists and is set to "splunktcp://9996" (which is set in inputs). (Line breaks added for readability):&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;[_rule:ruleset_test_syslog_firewall:set_index:smartcity]&lt;/SPAN&gt;
&lt;SPAN class=""&gt;INGEST_EVAL&lt;/SPAN&gt; = &lt;BR /&gt;original_index:=index, &lt;BR /&gt;index:=case(&lt;BR /&gt;index=&lt;SPAN class=""&gt;"axonius"&lt;/SPAN&gt; AND splunktcp=&lt;SPAN class=""&gt;"splunktcp://9996"&lt;/SPAN&gt;,&lt;SPAN class=""&gt;"main"&lt;/SPAN&gt;, &lt;BR /&gt;index=&lt;SPAN class=""&gt;"traffic_a2a"&lt;/SPAN&gt; AND splunktcp=&lt;SPAN class=""&gt;"splunktcp://9996"&lt;/SPAN&gt;, &lt;SPAN class=""&gt;"main"&lt;/SPAN&gt;, &lt;BR /&gt;splunktcp=&lt;SPAN class=""&gt;"splunktcp://9996"&lt;/SPAN&gt;,&lt;SPAN class=""&gt;"custom_support_index"&lt;/SPAN&gt;, &lt;BR /&gt;&lt;SPAN class=""&gt;true&lt;/SPAN&gt;(), index&lt;BR /&gt;)&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I was wondering, is it absolutely mandatory to set the stanza as [default] in props.conf, or is there a way to narrow the scope and have that ruleset apply &lt;I&gt;only&lt;/I&gt; to events received via the splunktcp protocol?&lt;/P&gt;&lt;P&gt;I would like to avoid overloading the HF (Heavy Forwarder) by applying the rule to all incoming events.&lt;BR /&gt;&lt;BR /&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2026 15:47:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761532#M120551</guid>
      <dc:creator>lorenzoromio</dc:creator>
      <dc:date>2026-06-09T15:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a _meta variable from inputs in a transforms on the same heavy forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761538#M120552</link>
      <description>&lt;P&gt;The stanzas in props.conf can be defined for sourcetype, host or source only. So no "this output" stanza. That's why the default stanza. If you are sure that the data will come only with specific sourcetype, host or source (and can trust the other side that it won't send anything else), you could narrow it down to specific ones.&lt;/P&gt;&lt;P&gt;If you are at 10 already you could look into Edge Processor for alternative solution (but that will require at least one additional separate worker machine).&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2026 19:29:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-use-a-meta-variable-from-inputs-in-a-transforms-on-the/m-p/761538#M120552</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2026-06-09T19:29:00Z</dc:date>
    </item>
  </channel>
</rss>

