<?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 How can I add  metadata to events at the forwarder? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-add-metadata-to-events-at-the-forwarder/m-p/327965#M97609</link>
    <description>&lt;P&gt;I'd like to add metadata to my events at the source and change the &lt;CODE&gt;_meta&lt;/CODE&gt; value periodically without restarting the forwarders.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Apr 2018 21:13:33 GMT</pubDate>
    <dc:creator>rphillips_splk</dc:creator>
    <dc:date>2018-04-11T21:13:33Z</dc:date>
    <item>
      <title>How can I add  metadata to events at the forwarder?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-add-metadata-to-events-at-the-forwarder/m-p/327965#M97609</link>
      <description>&lt;P&gt;I'd like to add metadata to my events at the source and change the &lt;CODE&gt;_meta&lt;/CODE&gt; value periodically without restarting the forwarders.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 21:13:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-add-metadata-to-events-at-the-forwarder/m-p/327965#M97609</guid>
      <dc:creator>rphillips_splk</dc:creator>
      <dc:date>2018-04-11T21:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: How can I add  metadata to events at the forwarder?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-add-metadata-to-events-at-the-forwarder/m-p/327966#M97610</link>
      <description>&lt;P&gt;forwarder:&lt;BR /&gt;
inputs.conf&lt;BR /&gt;
[monitor::///var/logs]&lt;BR /&gt;
_meta = foo:bar&lt;/P&gt;

&lt;H1&gt;foo represents field name , bar represents field value&lt;/H1&gt;

&lt;P&gt;indexers:&lt;BR /&gt;
fields.conf&lt;BR /&gt;
[foo]&lt;BR /&gt;
INDEXED = true&lt;/P&gt;

&lt;P&gt;I also want to update the metadata value periodically without restarting Splunk on the forwarders.&lt;/P&gt;

&lt;P&gt;$SPLUNK_HOME/bin&lt;BR /&gt;
&lt;CODE&gt;./splunk _internal call /services/data/inputs/monitor/_reload -auth admin:changeme&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:58:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-add-metadata-to-events-at-the-forwarder/m-p/327966#M97610</guid>
      <dc:creator>rphillips_splk</dc:creator>
      <dc:date>2020-09-29T18:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can I add  metadata to events at the forwarder?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-add-metadata-to-events-at-the-forwarder/m-p/327967#M97611</link>
      <description>&lt;P&gt;In case anyone else runs across this, the proper syntax in the inputs.conf is &lt;BR /&gt;
&lt;CODE&gt;_meta = foo::bar&lt;/CODE&gt;&lt;BR /&gt;
two colons between the key and value instead of one.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 21:06:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-add-metadata-to-events-at-the-forwarder/m-p/327967#M97611</guid>
      <dc:creator>gravesb</dc:creator>
      <dc:date>2019-12-05T21:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can I add  metadata to events at the forwarder?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-add-metadata-to-events-at-the-forwarder/m-p/666028#M228489</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/169572"&gt;@rphillips_splk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bar can be&amp;nbsp;&lt;SPAN&gt;an environment variable&amp;nbsp;&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 15:43:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-add-metadata-to-events-at-the-forwarder/m-p/666028#M228489</guid>
      <dc:creator>michaelissartel</dc:creator>
      <dc:date>2023-10-24T15:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I add  metadata to events at the forwarder?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-add-metadata-to-events-at-the-forwarder/m-p/666062#M228500</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/202301"&gt;@michaelissartel&lt;/a&gt;&amp;nbsp;I haven't tested using an env variable as the field value before. If you do end up testing can you put your reply here for others?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 19:37:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-add-metadata-to-events-at-the-forwarder/m-p/666062#M228500</guid>
      <dc:creator>rphillips_splk</dc:creator>
      <dc:date>2023-10-24T19:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can I add  metadata to events at the forwarder?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-add-metadata-to-events-at-the-forwarder/m-p/666200#M228543</link>
      <description>&lt;P&gt;Hi, this solution has been cancelled&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 16:57:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-add-metadata-to-events-at-the-forwarder/m-p/666200#M228543</guid>
      <dc:creator>michaelissartel</dc:creator>
      <dc:date>2023-10-25T16:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: How can I add  metadata to events at the forwarder?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-add-metadata-to-events-at-the-forwarder/m-p/666313#M228580</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/169572"&gt;@rphillips_splk&lt;/a&gt;&amp;nbsp;where can I find the doc for commands like&amp;nbsp;&lt;SPAN&gt;./splunk _internal call /services/data/inputs/monitor/_reload -auth admin:changeme&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can I do a post whit it ?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 09:30:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-add-metadata-to-events-at-the-forwarder/m-p/666313#M228580</guid>
      <dc:creator>michaelissartel</dc:creator>
      <dc:date>2023-10-26T09:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can I add  metadata to events at the forwarder?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-add-metadata-to-events-at-the-forwarder/m-p/666322#M228586</link>
      <description>&lt;P&gt;No. The only "variable" (runtime-determined) parts of the config are those explicitly defined as such in specs.&lt;/P&gt;&lt;P&gt;For example - serverName parameter in [general] section of server.conf. The specs say that it can contain environment variables so it can be dynamically set. For other parameters you define constant values.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 10:23:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-add-metadata-to-events-at-the-forwarder/m-p/666322#M228586</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-10-26T10:23:00Z</dc:date>
    </item>
  </channel>
</rss>

