Splunk Enterprise

Alternatives to the way TA parses the data ?

neerajs_81
Builder

Hi All, 
What are our options if we are not content with the way a TA extracts fields out of our raw data ?  We  are seeing issues with the way AWS Add-on extracts the values for one of the log sources from AWS .  We are using the latest version of their TA as well.   What can we do from our side to correct the field extractions  ?   AWS Data comes in JSON format and one of the fields is messed up.

Labels (1)
Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Yes.  You'll have the original props.conf and transforms.conf in /default and your changes will be in /local.  The files in /local should contain only the stanza name(s) and the settings you're changing.  No need to replicate the entire file or stanza.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

TAs can be modified to suit your needs.  Copy the offending extraction to the TA's local directory and change it as necessary.  Then restart Splunk for it to take effect.

Be aware that doing this means you own that extraction.  If the TA updates it in the future the new extraction will not apply because of the local override.  You can, of course, delete the local version if it's no longer needed.

---
If this reply helps you, Karma would be appreciated.

neerajs_81
Builder

Do you mean copy the stanzas from props.conf or transform.conf of the TA and then create another copy in /local folder that suits our needs?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Yes.  You'll have the original props.conf and transforms.conf in /default and your changes will be in /local.  The files in /local should contain only the stanza name(s) and the settings you're changing.  No need to replicate the entire file or stanza.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...