Splunk Dev

How to you get the input name from inside your TA?

Ludvik
Explorer

All, 

I am completely new to this forum and I have managed to get my first TA working. I need to understand how you get the "input name" from the Inputs area. I was hoping that I could use helper.get_arg('input_name') to get the value. 

new_input.PNG

add_input.PNG

Again thanks for any information on how to pull that value. 

 

Regards,

 

Lu

Labels (2)
0 Karma

chethan2kumar
Engager

Try this

input_stanza_name=helper.get_input_stanza_names()

 

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...