Splunk Search

How can I visualize "table _raw" in the same format as the search result for the raw events in default Splunk search screen ?

Upas02
Path Finder

When I search for my events by giving index=myindex, I get my data in the proper format.
But when i try to print it out in a table, by using "index=myindex | table _raw" the formatting changes and I get the data in a different format.
How can get output of "table _raw" in the same way as events display in default search page.
Can it be done at query level or HTML or CSS level ?

Thanks in advance for your help.

0 Karma
1 Solution

CarsonZa
Contributor

you cant

"The table command is similar to the fields command in that it lets you specify the fields you want to keep in your results. Use table command when you want to retain data in tabular format."

http://docs.splunk.com/Documentation/Splunk/7.1.2/SearchReference/Table

the list display shows events collapsed, you might be missing key information. I don't see a good reason to print this display

View solution in original post

0 Karma

marycordova
SplunkTrust
SplunkTrust

can you post a screenshot of what you are trying to achieve as well as a sample log?

@marycordova
0 Karma

CarsonZa
Contributor

you cant

"The table command is similar to the fields command in that it lets you specify the fields you want to keep in your results. Use table command when you want to retain data in tabular format."

http://docs.splunk.com/Documentation/Splunk/7.1.2/SearchReference/Table

the list display shows events collapsed, you might be missing key information. I don't see a good reason to print this display

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...