<?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 Forward data into 3rd party systems using index instead of host? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Forward-data-into-3rd-party-systems-using-index-instead-of-host/m-p/88145#M18291</link>
    <description>&lt;P&gt;Good day&lt;/P&gt;

&lt;P&gt;i Read this document regarding to the forward data to third-party systems&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Deploy/Forwarddatatothird-partysystemsd#Forward_syslog_data" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Deploy/Forwarddatatothird-partysystemsd#Forward_syslog_data&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;and my question is can i forward my created index? instead of host?&lt;/P&gt;

&lt;P&gt;For example&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;P&gt;to this  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  [host::nyc*]
    TRANSFORMS-nyc = send_to_syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Into this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [index::sample]
    TRANSFORMS-sample = send_to_syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[send_to_syslog]
REGEX = .
DEST_KEY = _SYSLOG_ROUTING
FORMAT = my_syslog_group
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;output.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslog:my_syslog_group]
server = loghost.example.com:514
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In short i would like to send the contents of the index into other non-splunk systems&lt;/P&gt;

&lt;P&gt;Regards&lt;BR /&gt;
Cris&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 12:37:00 GMT</pubDate>
    <dc:creator>christantoy</dc:creator>
    <dc:date>2020-09-28T12:37:00Z</dc:date>
    <item>
      <title>Forward data into 3rd party systems using index instead of host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forward-data-into-3rd-party-systems-using-index-instead-of-host/m-p/88145#M18291</link>
      <description>&lt;P&gt;Good day&lt;/P&gt;

&lt;P&gt;i Read this document regarding to the forward data to third-party systems&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Deploy/Forwarddatatothird-partysystemsd#Forward_syslog_data" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Deploy/Forwarddatatothird-partysystemsd#Forward_syslog_data&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;and my question is can i forward my created index? instead of host?&lt;/P&gt;

&lt;P&gt;For example&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;P&gt;to this  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  [host::nyc*]
    TRANSFORMS-nyc = send_to_syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Into this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [index::sample]
    TRANSFORMS-sample = send_to_syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[send_to_syslog]
REGEX = .
DEST_KEY = _SYSLOG_ROUTING
FORMAT = my_syslog_group
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;output.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslog:my_syslog_group]
server = loghost.example.com:514
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In short i would like to send the contents of the index into other non-splunk systems&lt;/P&gt;

&lt;P&gt;Regards&lt;BR /&gt;
Cris&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:37:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forward-data-into-3rd-party-systems-using-index-instead-of-host/m-p/88145#M18291</guid>
      <dc:creator>christantoy</dc:creator>
      <dc:date>2020-09-28T12:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Forward data into 3rd party systems using index instead of host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forward-data-into-3rd-party-systems-using-index-instead-of-host/m-p/88146#M18292</link>
      <description>&lt;P&gt;Yes. While you can't match against index directly in the stanza, you can put in a default section and then match it in a regex instead by using &lt;CODE&gt;SOURCE_KEY&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
TRANSFORMS-sampleindex = send_sample_index_to_syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[send_sample_index_to_syslog]
SOURCE_KEY = _MetaData:Index
REGEX = ^sample$
DEST_KEY = _SYSLOG_ROUTING
FORMAT = my_syslog_group
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 Oct 2012 06:30:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forward-data-into-3rd-party-systems-using-index-instead-of-host/m-p/88146#M18292</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-10-12T06:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Forward data into 3rd party systems using index instead of host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forward-data-into-3rd-party-systems-using-index-instead-of-host/m-p/88147#M18293</link>
      <description>&lt;P&gt;Thanks for you answer &lt;/P&gt;

&lt;P&gt;But you said that i can put in a default section?&lt;BR /&gt;
on here splunk &amp;gt; etc &amp;gt; system &amp;gt; default ? i am right?&lt;/P&gt;

&lt;P&gt;and but the way i am not much familiar with regex can i done with a default?&lt;/P&gt;

&lt;P&gt;Regards Cris&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2012 06:50:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forward-data-into-3rd-party-systems-using-index-instead-of-host/m-p/88147#M18293</guid>
      <dc:creator>christantoy</dc:creator>
      <dc:date>2012-10-12T06:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Forward data into 3rd party systems using index instead of host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forward-data-into-3rd-party-systems-using-index-instead-of-host/m-p/88148#M18294</link>
      <description>&lt;P&gt;The [default] section can be put in the same props.conf file as other settings you would want to apply. Where it resides doesn't really matter as long as it's in a location where Splunk is seeing and using it.&lt;/P&gt;

&lt;P&gt;Re your second question, I'm afraid I don't entirely understand what you mean.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2012 06:52:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forward-data-into-3rd-party-systems-using-index-instead-of-host/m-p/88148#M18294</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-10-12T06:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Forward data into 3rd party systems using index instead of host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forward-data-into-3rd-party-systems-using-index-instead-of-host/m-p/88149#M18295</link>
      <description>&lt;P&gt;Thank you again!&lt;/P&gt;

&lt;P&gt;Forget about the second question. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;BTW my outputs.conf is that correct? do i need to used that? &lt;/P&gt;

&lt;P&gt;Regards&lt;BR /&gt;
Cris&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2012 07:05:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forward-data-into-3rd-party-systems-using-index-instead-of-host/m-p/88149#M18295</guid>
      <dc:creator>christantoy</dc:creator>
      <dc:date>2012-10-12T07:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Forward data into 3rd party systems using index instead of host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forward-data-into-3rd-party-systems-using-index-instead-of-host/m-p/88150#M18296</link>
      <description>&lt;P&gt;Hi again Ayn&lt;/P&gt;

&lt;P&gt;can i create a conf file? for output.conf and the other instead? it will work if i do that?&lt;/P&gt;

&lt;P&gt;Thanks and Regards &lt;BR /&gt;
Cris&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2012 07:39:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forward-data-into-3rd-party-systems-using-index-instead-of-host/m-p/88150#M18296</guid>
      <dc:creator>christantoy</dc:creator>
      <dc:date>2012-10-12T07:39:37Z</dc:date>
    </item>
  </channel>
</rss>

