Getting Data In

How to ingest excel from UF

Dayalss
Engager

Hi,

 

I have a excel file on a linux server at a particular path.

I have created a input file to monitor this file , but Im not receiving any logs.

Can anyone help me how to get that excel daily by creating  a input.conf 

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Dayalss,

I confirm what @richgalloway said: there isn't any tool or Add-On to directly ingest Excel Files, the only way is passing through a csv conversion to perform out of Splunk before ingestistion.

You can do this is a script (e.g. in Python) like the ones described in these pages:

https://www.google.com/search?q=script+to+convert+an+excel+file+in+csv&rlz=1C1VDKB_itIT1048IT1048&oq...

Ciao.

Giuseppe

0 Karma

richgalloway
SplunkTrust
SplunkTrust

It depends on the type of Excel file.  A .xls file is binary and so will not be ingested by Splunk.  The UF's splunkd.log file should confirm this.

Newer Excel files are .xlsx, which is XML format.  That can be ingested by Splunk, but may be of limited utility if you can't interpret the XML.

There's also .xlsm files, which contain macros, but I'm not sure how they're stored.

Again, the UF should log a message when it's unable to monitor/ingest a file.

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

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...