Getting Data In

Change Index name of some data from HEC

karthikm
Loves-to-Learn Everything

I have a HEC token sending various logs from AWS Cloudwatch. HEC token is set to have two indexes paloalto and aws.

And all the data is going to the default index aws.

I want all the data from the source=syslogng to be sent to index=paloalto instead of index=aws.

Should I change the inputs.conf or props.conf for the splunk_httpinput in the deployment apps?

0 Karma

PickleRick
SplunkTrust
SplunkTrust

If you have a HEC input, you can define which indexes the input is limited to. But if you want other index than the default one, the source sending events must specify it.

Otherwise you have to overwrite metadata later duing ingestion phase https://docs.splunk.com/Documentation/Splunk/9.1.0/Forwarding/Routeandfilterdatad

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...