Splunk Dev

Add new column in indexed data with python

yashjain12yj
New Member

I need to add a new column in the indexed splunk data with the help of python.

eg:

I have a table:
A B
1 2
4 8

I need to add a new column after performing some function.
i.e., adding column C by performing addition of A and B.

New Table should look like this:
A B C
1 2 3
4 8 12

How can I complete this task?

0 Karma
Get Updates on the Splunk Community!

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...