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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...