Getting Data In

Extracting data from text file that is delimited by space

Azwaliyana
Path Finder

I wanted to extract the data for every node. As you can see the pg-2 and ss7-2 are the nodes and below is the information for the node. How do I extract the percentage value? I want to find the maximum percentage for every node. 

Azwaliyana_0-1635208094627.png

 

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Check out the multikv command.  It will parse the columns into fields for you.  You'll probably want to have separate events for each node, however.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Check out the multikv command.  It will parse the columns into fields for you.  You'll probably want to have separate events for each node, however.

---
If this reply helps you, Karma would be appreciated.
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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

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

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