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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...