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
SplunkTrust
SplunkTrust

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
SplunkTrust
SplunkTrust

Please share some sample data.

0 Karma
Get Updates on the Splunk Community!

Using Machine Learning for Hunting Security Threats

WATCH NOW Seeing the exponential hike in global cyber threat spectrum, organizations are now striving more for ...

Observability Newsletter Highlights | March 2023

 March 2023 | Check out the latest and greatestSplunk APM's New Tag Filter ExperienceSplunk APM has updated ...

Security Newsletter Updates | March 2023

 March 2023 | Check out the latest and greatestUnify Your Security Operations with Splunk Mission Control The ...