Splunk Search

Issues with props and transforms

Abha11
Explorer

Hi All,

I have just copied across working props and transforms stanza from one HF to another for sqs logs. 

however it’s having issues on using this props and transforms since logs are stopping and I am getting a message “start writing events to STDOUT” host=“ “ index=“<index>main</index>” stanza= “ “

 

I am using that transforms to extract hostname index name , source and sourcetype. 

any help appreciated! Thanks 

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Have you restart that HF after you have installed those copies to it?

You could use splunk btool props list <sourcetype name> and splunk btool transforms list <transform name> to see that splunk found those correctly. If needed add --debug to see where it takes those into use.

r. Ismo

0 Karma

Abha11
Explorer

Hi @isoutamo 

@Thank you so much for your reply to my question. 

so I had restarted HF after applying the props and transforms, but no luck. I also checked via btool that props and transforms  were found by Splunk correctly, with the debug I could see they were sitting in my splunk add on for aws. 

I tried not to use this props and transforms and created and used another sourcetype and I could see my data came in. 

however I need to use transforms to set host source and sourcetype based on event data. 
samd props and transforms working on another HF I copied it from. Not sure what is going wrong here since on using these splunk starts to write events to STDOUT.

 

any help appreciated!

0 Karma
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...