Splunk Dev

Splunk Python with pandas

sreedharmishra1
New Member

How to create a dataframe from the splunk search result 

I have tried the below code and I can create a data frame using pandas, but while retrieving each column i am not able to get the desired output 

import pandas as pd

df = pd.DataFrame.from_records(tuple_generator, columns = tuple_fields_name_list)

Could you please support 

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

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...