Splunk Search

How to split a table-formatted event into multiple events during search time?

davidcraven02
Communicator

Is it possible to have each piece of software as an event of its own so that I could search for a particular item?

Could some cool regex break this up into searchable data?

Desired output in screenshot below

alt text

Tags (2)
0 Karma
1 Solution

Yunagi
Communicator

To split a table-formatted event into multipe events during search time, you can use the multikv command.

Try it like this:

your search | multikv

You should get an event for each line. Each event should have the fields NAME, VERSION, RELEASE etc.

View solution in original post

Yunagi
Communicator

To split a table-formatted event into multipe events during search time, you can use the multikv command.

Try it like this:

your search | multikv

You should get an event for each line. Each event should have the fields NAME, VERSION, RELEASE etc.

davidcraven02
Communicator

Thank you so much

0 Karma
Get Updates on the Splunk Community!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...