<?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: Index data from a file and send to differents indexes in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Index-data-from-a-file-and-send-to-differents-indexes/m-p/534161#M89673</link>
    <description>&lt;P&gt;props.conf&lt;/P&gt;&lt;P&gt;[cisco-prime_snmtp-traps]&lt;BR /&gt;TRANSFORMS-reenvioindexes= wlc_pams, aruba&lt;/P&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;P&gt;[wlc_pams]&lt;BR /&gt;REGEX= /\[UDP: \[115\.100\.9\.100\]/g&lt;BR /&gt;DEST_KEY = _MetaData:Index&lt;BR /&gt;FORMAT = wlc_pams&lt;/P&gt;&lt;P&gt;[aruba]&lt;BR /&gt;REGEX= /\[UDP: \[172\.22\.175\.102\]/g&lt;BR /&gt;DEST_KEY = _MetaData:Index&lt;BR /&gt;FORMAT = Aruba&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
    <pubDate>Sun, 27 Dec 2020 23:41:24 GMT</pubDate>
    <dc:creator>tdepablo88</dc:creator>
    <dc:date>2020-12-27T23:41:24Z</dc:date>
    <item>
      <title>Index data from a file and send to differents indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-data-from-a-file-and-send-to-differents-indexes/m-p/534072#M89665</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am trying to index data from a single log file to different indexes but i can't do it, i have this data wich need to route to diferent indexes:&lt;/P&gt;&lt;P&gt;svr80001.xxxxxx.com [UDP: [172.22.175.102]:27869-&amp;gt;[172.22.172.244]:162]:&lt;BR /&gt;DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (121711881) 14 days, 2:05:18.81&lt;/P&gt;&lt;P&gt;&amp;lt;UNKNOWN&amp;gt; [UDP: [115.100.9.100]:56090-&amp;gt;[172.22.172.244]:162]:&lt;/P&gt;&lt;P&gt;I need to filter using the ipaddress, and i follow the next link &lt;A href="https://community.splunk.com/t5/Getting-Data-In/How-to-filter-data-from-a-single-file-and-write-to-two-different/m-p/513371" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Getting-Data-In/How-to-filter-data-from-a-single-file-and-write-to-two-different/m-p/513371&lt;/A&gt; but isn't work to me.&lt;/P&gt;&lt;P&gt;Regards, Diego&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 17:59:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-data-from-a-file-and-send-to-differents-indexes/m-p/534072#M89665</guid>
      <dc:creator>tdepablo88</dc:creator>
      <dc:date>2020-12-24T17:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Index data from a file and send to differents indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-data-from-a-file-and-send-to-differents-indexes/m-p/534078#M89666</link>
      <description>&lt;P&gt;Please share the props.conf and transforms.conf settings you're using to route the events to different indexes.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 20:39:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-data-from-a-file-and-send-to-differents-indexes/m-p/534078#M89666</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-12-24T20:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Index data from a file and send to differents indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-data-from-a-file-and-send-to-differents-indexes/m-p/534161#M89673</link>
      <description>&lt;P&gt;props.conf&lt;/P&gt;&lt;P&gt;[cisco-prime_snmtp-traps]&lt;BR /&gt;TRANSFORMS-reenvioindexes= wlc_pams, aruba&lt;/P&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;P&gt;[wlc_pams]&lt;BR /&gt;REGEX= /\[UDP: \[115\.100\.9\.100\]/g&lt;BR /&gt;DEST_KEY = _MetaData:Index&lt;BR /&gt;FORMAT = wlc_pams&lt;/P&gt;&lt;P&gt;[aruba]&lt;BR /&gt;REGEX= /\[UDP: \[172\.22\.175\.102\]/g&lt;BR /&gt;DEST_KEY = _MetaData:Index&lt;BR /&gt;FORMAT = Aruba&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Sun, 27 Dec 2020 23:41:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-data-from-a-file-and-send-to-differents-indexes/m-p/534161#M89673</guid>
      <dc:creator>tdepablo88</dc:creator>
      <dc:date>2020-12-27T23:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Index data from a file and send to differents indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-data-from-a-file-and-send-to-differents-indexes/m-p/534225#M89674</link>
      <description>&lt;P&gt;The problem (or perhaps one of the problems) is the REGEX strings do not match the data.&amp;nbsp; The events do not have the UDP address surrounded by slashes.&amp;nbsp; Try these, instead.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[wlc_pams]
REGEX= \[UDP: \[115\.100\.9\.100\]
DEST_KEY = _MetaData:Index
FORMAT = wlc_pams

[aruba]
REGEX= \[UDP: \[172\.22\.175\.102\]
DEST_KEY = _MetaData:Index
FORMAT = Aruba&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2020 13:44:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-data-from-a-file-and-send-to-differents-indexes/m-p/534225#M89674</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-12-28T13:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Index data from a file and send to differents indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-data-from-a-file-and-send-to-differents-indexes/m-p/534721#M89714</link>
      <description>&lt;P&gt;Rich,&lt;/P&gt;&lt;P&gt;thanks for the help it works perfectly, now can i define a another sourcetype for the redirection, example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[wlc_pams]
REGEX= \[UDP: \[115\.100\.9\.100\]
DEST_KEY = _MetaData:Index
FORMAT = wlc_pams
SOURCETYPE = another?&lt;/LI-CODE&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;Diego&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 16:43:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-data-from-a-file-and-send-to-differents-indexes/m-p/534721#M89714</guid>
      <dc:creator>tdepablo88</dc:creator>
      <dc:date>2021-01-04T16:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Index data from a file and send to differents indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-data-from-a-file-and-send-to-differents-indexes/m-p/534730#M89716</link>
      <description>&lt;P&gt;The sourcetype can be changed by specifying the proper destination key.&amp;nbsp; You already have a destination key specified, however, so I'm not sure you can make both changes.&lt;/P&gt;&lt;P&gt;If your problem is resolved, then please click the "Accept as Solution" button to help future readers.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 18:38:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-data-from-a-file-and-send-to-differents-indexes/m-p/534730#M89716</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-01-04T18:38:07Z</dc:date>
    </item>
  </channel>
</rss>

