Getting Data In

How to extract ingested data and display in interesting fields ?

Kumar2
Loves-to-Learn Lots

Example: MyNameisKumar I want name=kumar from this ingested Data . Please help me with the solution 

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Kumar2,

as you can see at https://docs.splunk.com/Documentation/Splunk/8.2.3/Knowledge/WhatisSplunkknowledge Splunk recognize by itself the pairs "field=value".

For the other extraction you can use a Technical Add-On for the standard sources (e.g. Windows, Linux, etc...) or for other sources you have to extract fields by yourself identifying the rule to extract the field and creating a regex.

I could help you if you share some sample of your logs indicating what you want to extract.

regex101.com could help you.

using your sample:

| rex "MyNameis(?<name>\w+)"

that you can test at https://regex101.com/r/PIXYtT/1 

Ciao.

Giuseppe

0 Karma

Kumar2
Loves-to-Learn Lots

No sir

0 Karma
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!

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...