Splunk Search

Long field names

andrewpense825
Explorer

Good day, I often run up against the issue of wanting to drag the text of a field name from the browser into a separate text editor.  Whenever I drag it, it works but it brings all the html metadata with it.  Sometimes these field names are very long and so truncated on the screen its very tough without copying and pasting.   Has anyone found good work around for this? 

Right now the field names, when dragged from the web browser into a text editor, comes through like this:

https://fakebus.splunkcloud.com/en-US/app/search/search?q=search%20%60blocks%60&sid=1726153610.12967...

Ironically dragged text field from splunk into this web dialog box work fine.

Labels (1)
0 Karma
1 Solution

andrewpense825
Explorer

@richgalloway This is great, this is getting me somewhere!  None of those fixes worked because one of the root causes of my problem is the string for the key is so long it gets truncated off of the screen so I can't roll my mouse over a whole highlight.  I do have a short term fix of just mouse zooming out quickly to grab a long field but its like a very difficult video game.  Thanks for your help!

 

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Sometimes you can right-drag and then opt to copy without formatting.  If not, copy the field name and use Ctrl-Shift-V to paste it without the HTML.

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

andrewpense825
Explorer

@richgalloway This is great, this is getting me somewhere!  None of those fixes worked because one of the root causes of my problem is the string for the key is so long it gets truncated off of the screen so I can't roll my mouse over a whole highlight.  I do have a short term fix of just mouse zooming out quickly to grab a long field but its like a very difficult video game.  Thanks for your help!

 

0 Karma

andrewpense825
Explorer

Best work around I've come to, and its not half bad considering that I don't have to deal with these long field names very often, is to right click>open in inspector (this is in Edge by the way) and then drag the field name from the inspector to the editor of choice.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...