Splunk Search

How to extract data from .conf file?

sjaitly
Engager

I need to extract ITSI app version from app.conf file
To display the data on a dashoboard 
I found a way sing the config parser but its not very clear

Labels (1)
0 Karma

manjunathmeti
Champion

hi @sjaitly,

You can get app.conf attrbutes using rest command, search this:

| rest /services/apps/local 
| table label version author title description

 

0 Karma

sjaitly
Engager

Hi @manjunathmeti,
Thanks for this solution but the issue is that I'm fetching this data from a diag file
and not from internal logs 
So, I don't think rest command would work.

0 Karma

manjunathmeti
Champion

Please share some sample data.

0 Karma
Get Updates on the Splunk Community!

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...

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

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