<?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: How to route the logs from certain host to index=abc_secure? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-route-the-logs-from-certain-host-to-index-abc-secure/m-p/619565#M106824</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Yes, this is fine, also I want the logs only from the hostname LIANS*&lt;BR /&gt;&lt;BR /&gt;Will the below props and transforms work?&lt;/P&gt;&lt;P&gt;props.conf&lt;/P&gt;&lt;P&gt;[host=LIANS*]&lt;BR /&gt;TRANSFORMS-change_index_abc_secure = change_index_abc_secure&lt;/P&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;P&gt;[change_index_abc_secure]&lt;BR /&gt;SOURCE_KEY = MetaData:Index&lt;BR /&gt;REGEX = os|os_secure&lt;BR /&gt;DEST_KEY = MetaData:Index&lt;BR /&gt;FORMAT = index::abc_secure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Nov 2022 23:44:56 GMT</pubDate>
    <dc:creator>VijaySrrie</dc:creator>
    <dc:date>2022-11-03T23:44:56Z</dc:date>
    <item>
      <title>How to route the logs from certain host to index=abc_secure?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-route-the-logs-from-certain-host-to-index-abc-secure/m-p/619215#M106779</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;[host::1.(xx|xx).xx.xx(x|y)]&lt;BR /&gt;TRANSFORMS-change_index_abc_secure = change_index_abc_secure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[change_index_abc_secure]&lt;BR /&gt;SOURCE_KEY = MetaData:Index&lt;BR /&gt;REGEX = os, os_secure&lt;BR /&gt;DEST_KEY = MetaData:Index&lt;BR /&gt;FORMAT = index::abc_secure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to route the logs from certain host to index=abc_secure (not all the logs only os and os_secure logs)&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 02:41:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-route-the-logs-from-certain-host-to-index-abc-secure/m-p/619215#M106779</guid>
      <dc:creator>VijaySrrie</dc:creator>
      <dc:date>2022-11-02T02:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to route the logs from certain host to index=abc_secure?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-route-the-logs-from-certain-host-to-index-abc-secure/m-p/619239#M106782</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/164779"&gt;@VijaySrrie&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you want to redirect only logs where index contains os or os_secure you have to use a different regex:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[change_index_abc_secure]
SOURCE_KEY = MetaData:Index
REGEX = os|os_secure
DEST_KEY = MetaData:Index
FORMAT = index::abc_secure&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 07:48:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-route-the-logs-from-certain-host-to-index-abc-secure/m-p/619239#M106782</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-11-02T07:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to route the logs from certain host to index=abc_secure?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-route-the-logs-from-certain-host-to-index-abc-secure/m-p/619565#M106824</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Yes, this is fine, also I want the logs only from the hostname LIANS*&lt;BR /&gt;&lt;BR /&gt;Will the below props and transforms work?&lt;/P&gt;&lt;P&gt;props.conf&lt;/P&gt;&lt;P&gt;[host=LIANS*]&lt;BR /&gt;TRANSFORMS-change_index_abc_secure = change_index_abc_secure&lt;/P&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;P&gt;[change_index_abc_secure]&lt;BR /&gt;SOURCE_KEY = MetaData:Index&lt;BR /&gt;REGEX = os|os_secure&lt;BR /&gt;DEST_KEY = MetaData:Index&lt;BR /&gt;FORMAT = index::abc_secure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 23:44:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-route-the-logs-from-certain-host-to-index-abc-secure/m-p/619565#M106824</guid>
      <dc:creator>VijaySrrie</dc:creator>
      <dc:date>2022-11-03T23:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to route the logs from certain host to index=abc_secure?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-route-the-logs-from-certain-host-to-index-abc-secure/m-p/619597#M106827</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/164779"&gt;@VijaySrrie&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;yes it's correct, test it and tell me the result.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 07:27:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-route-the-logs-from-certain-host-to-index-abc-secure/m-p/619597#M106827</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-11-04T07:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to route the logs from certain host to index=abc_secure?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-route-the-logs-from-certain-host-to-index-abc-secure/m-p/619800#M106846</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This isn't working&lt;BR /&gt;Not sure where am I going wrong&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 07:02:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-route-the-logs-from-certain-host-to-index-abc-secure/m-p/619800#M106846</guid>
      <dc:creator>VijaySrrie</dc:creator>
      <dc:date>2022-11-07T07:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to route the logs from certain host to index=abc_secure?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-route-the-logs-from-certain-host-to-index-abc-secure/m-p/619801#M106847</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/164779"&gt;@VijaySrrie&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please try this props.conf&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[host::LIANS*]
TRANSFORMS-change_index_abc_secure = change_index_abc_secure&lt;/LI-CODE&gt;&lt;P&gt;even if&amp;nbsp;I'm not sure that's possible to use the asterisk in props.conf , could you try using a sourcetype instead host?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 07:14:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-route-the-logs-from-certain-host-to-index-abc-secure/m-p/619801#M106847</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-11-07T07:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to route the logs from certain host to index=abc_secure?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-route-the-logs-from-certain-host-to-index-abc-secure/m-p/622037#M107096</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below config worked&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Props&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;[host::LIANS*]&lt;BR /&gt;TRANSFORMS-change_index_abc_secure = change_index_abc_secure&lt;/P&gt;&lt;P&gt;Transforms.conf&lt;BR /&gt;&lt;BR /&gt;[change_index_abc_secure]&lt;BR /&gt;SOURCE_KEY = _MetaData:Index&lt;BR /&gt;REGEX = os|os_secure&lt;BR /&gt;DEST_KEY = _MetaData:Index&lt;BR /&gt;FORMAT = abc_secure&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 02:04:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-route-the-logs-from-certain-host-to-index-abc-secure/m-p/622037#M107096</guid>
      <dc:creator>VijaySrrie</dc:creator>
      <dc:date>2022-11-25T02:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to route the logs from certain host to index=abc_secure?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-route-the-logs-from-certain-host-to-index-abc-secure/m-p/622062#M107100</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/164779"&gt;@VijaySrrie&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 08:18:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-route-the-logs-from-certain-host-to-index-abc-secure/m-p/622062#M107100</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-11-25T08:18:04Z</dc:date>
    </item>
  </channel>
</rss>

