Getting Data In

How to do Field extraction in splunk without sourcetype?

smanojkumar
Contributor

Hi Splunkers!
   I need to extract the specific field which dosent consists of sourcetype in logs,

Is there is anything apart from Regex and Spath, i also welcomed, answers in different is needed.

Fields to extrcat - OS, OSRelease

smanojkumar_0-1692285716472.pngsmanojkumar_1-1692285780599.png


Thanks in Advance,

Manoj Kumar S

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| extract
0 Karma

smanojkumar
Contributor

Hi @ITWhisperer ,

   Thanks for your response!

    Can you please help with query as well to extract, also, if possible, please share regex code as well.

 

Thanks is  Advance!

Manoj Kumar S

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You said you didn't want regex or spath.

From the picture, which is not a good way to show your data by the way, it looks like it is reasonably structured with name/value pairs, which the extract command can extract into fields.

If this is not doing what you want, you should provide more information as to why it is not, and provide examples of your complete events (anonymised of course), but paste them into a codeblock </> so that we can use them to fabricate tests to resolve your issue.

Very few of us volunteers want to spend time trying to copy your example data from pictures.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Event Series: Telemetry Pipeline Management

Balancing Scale and Spend: Gaining Control Over High-Volume Metrics in Splunk Observability Cloud As ...

Kick the Tires Before You Commit: A Hands-On Tour of the Splunk Observability Cloud ...

Evaluating an enterprise observability platform usually goes like this: fill out a form, get a free trial with ...

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...