<?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: Change Index for some HEC data in Installation</title>
    <link>https://community.splunk.com/t5/Installation/How-to-Change-Index-for-some-HEC-data/m-p/655870#M13208</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/258975"&gt;@karthikm&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;ok for the input phase, but you need an Ad-On for the parsing phase, so you must have an Add-On otherwise, you have to manually create all the parsing rules.&lt;/P&gt;&lt;P&gt;Anyway, the approach is the one I described: you have to override the index value.&lt;/P&gt;&lt;P&gt;In addition I hint to analyze the Splunk Add-On for Amazon Web Services (AWS) at&amp;nbsp;&lt;A href="https://splunkbase.splunk.com/app/1876" target="_blank"&gt;https://splunkbase.splunk.com/app/1876&lt;/A&gt;&amp;nbsp;because maybe it could help you.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2023 15:50:57 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2023-08-28T15:50:57Z</dc:date>
    <item>
      <title>How to Change Index for some HEC data?</title>
      <link>https://community.splunk.com/t5/Installation/How-to-Change-Index-for-some-HEC-data/m-p/655799#M13204</link>
      <description>&lt;P&gt;I have a HEC and I am receiving logs from CloudWatch and the default index is set to "aws". From the same HEC token I am also receiving Firewall logs from CloudWatch and these logs are also going to the index "aws".&lt;/P&gt;
&lt;P&gt;How can I transform the Firewall logs coming from the same HEC token from a different source to be assigned to index "paloalto"?&lt;/P&gt;
&lt;P&gt;I tried using the below config but it doesn't work&lt;/P&gt;
&lt;P&gt;props.conf&lt;/P&gt;
&lt;P&gt;[source::syslogng:dev/syslogng/*]&lt;BR /&gt;TRANSFORMS-hecpaloalto = hecpaloalto&lt;BR /&gt;disabled = false&lt;/P&gt;
&lt;P&gt;transforms.conf&lt;/P&gt;
&lt;P&gt;[hecpaloalto]&lt;BR /&gt;DEST_KEY = _MetaData:Index&lt;BR /&gt;REGEX = (.*)&lt;BR /&gt;FORMAT = palo_alto&lt;/P&gt;
&lt;P&gt;I created the index palo_alto in the cluster master indexes.conf, applied cluster bundles to the indexers.&lt;/P&gt;
&lt;P&gt;And also applied the above config using deployment server to the Indexers.&lt;/P&gt;
&lt;P&gt;For some reason the logs are still going to the aws index.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 18:54:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-Change-Index-for-some-HEC-data/m-p/655799#M13204</guid>
      <dc:creator>karthikm</dc:creator>
      <dc:date>2023-08-28T18:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Change Index for some HEC data</title>
      <link>https://community.splunk.com/t5/Installation/How-to-Change-Index-for-some-HEC-data/m-p/655804#M13205</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/258975"&gt;@karthikm&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I suppose that you're speaking of an on-premise installation.&lt;/P&gt;&lt;P&gt;Which Add-On are you using for the data ingestion?&lt;/P&gt;&lt;P&gt;if I correctly remember, it's possible to define the index for each data source by GUI, anyway, you could see the inputs.conf in tha used Add-On and see if the inputs (as tey should be!) are in two different stanzas.&lt;/P&gt;&lt;P&gt;If not, you can override the index value finding a regex that identifies the Firewall Logs and follow the configurations described in my previous answer&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Search/How-to-change-index-based-on-MetaData-Source/m-p/619936" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Search/How-to-change-index-based-on-MetaData-Source/m-p/619936&lt;/A&gt;&amp;nbsp;or other answers in Community.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 10:25:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-Change-Index-for-some-HEC-data/m-p/655804#M13205</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-08-28T10:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Change Index for some HEC data</title>
      <link>https://community.splunk.com/t5/Installation/How-to-Change-Index-for-some-HEC-data/m-p/655837#M13207</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;, yes it's distributed on-prem installation. I am not using any add-on for ingesting data.&lt;/P&gt;&lt;P&gt;I am using HTTP Event Collector Token to send AWS Cloudwatch logs to Splunk indexers (using load balancing).&lt;/P&gt;&lt;P&gt;From the GUI it's possible to select multiple indexes but use only the default index as the log index. So far all the logs are going to the default index and I don't see an option in the HEC settings or GUI where I can change the index name for partial logs coming through the HEC.&lt;/P&gt;&lt;P&gt;I tried overriding the index value as you mentioned, but it doesn't work.&amp;nbsp; Any idea what's wrong in the below config?&lt;/P&gt;&lt;P&gt;props.conf&lt;/P&gt;&lt;P&gt;[source::syslogng:dev/syslogng/*]&lt;BR /&gt;TRANSFORMS-hecpaloalto = hecpaloalto&lt;BR /&gt;disabled = false&lt;/P&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;P&gt;[hecpaloalto]&lt;BR /&gt;DEST_KEY = _MetaData:Index&lt;BR /&gt;REGEX = (.*)&lt;BR /&gt;FORMAT = palo_alto&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 13:00:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-Change-Index-for-some-HEC-data/m-p/655837#M13207</guid>
      <dc:creator>karthikm</dc:creator>
      <dc:date>2023-08-28T13:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Change Index for some HEC data</title>
      <link>https://community.splunk.com/t5/Installation/How-to-Change-Index-for-some-HEC-data/m-p/655870#M13208</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/258975"&gt;@karthikm&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;ok for the input phase, but you need an Ad-On for the parsing phase, so you must have an Add-On otherwise, you have to manually create all the parsing rules.&lt;/P&gt;&lt;P&gt;Anyway, the approach is the one I described: you have to override the index value.&lt;/P&gt;&lt;P&gt;In addition I hint to analyze the Splunk Add-On for Amazon Web Services (AWS) at&amp;nbsp;&lt;A href="https://splunkbase.splunk.com/app/1876" target="_blank"&gt;https://splunkbase.splunk.com/app/1876&lt;/A&gt;&amp;nbsp;because maybe it could help you.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 15:50:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-Change-Index-for-some-HEC-data/m-p/655870#M13208</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-08-28T15:50:57Z</dc:date>
    </item>
  </channel>
</rss>

