Splunk Search

How to format results sent via sendemail?

packet_hunter
Contributor

Scenario: I am sending results inline with sendemail. Unfortunately, the way it displays (and sends results) in columns, the values get wrapped and make it hard to read. Does anyone know a way to stack the results along the Y-axis rather than the X-axis?

In other words, I want results displayed from:
fld1 fld2 fld3 fld4


1 2 3 4

to be displayed like

fld1 1
fld2 2
fld3 3
fld4 4

Thank you

Tags (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Check out the transpose command at http://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/Transpose

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

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Check out the transpose command at http://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/Transpose

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

packet_hunter
Contributor

I must be blind, but I can count on you. Thank you again.

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 ...