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_0-1692285716472.pngsmanojkumar_1-1692285780599.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!

Your Feedback. Our Roadmap. Visit the PX Feedback Booth at .conf26

You use Splunk every day, come and help shape what's next.  Save Your Seat: Product-Focused Sessions at ...

Agentic SOC Triage: Investigating Splunk ES Notables with MCP Server and a Local LLM

The Problem: Too Many Alerts, Too Little Context Security operations teams running Splunk Enterprise Security ...

Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas

Watch Now Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas     Do you ever feel ...