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

Davidwilson
Explorer


 I’ve run into this too, especially with really long field names in the UI. One workaround that helped me was copying the field name directly from the Inspect / Developer Tools in the browser instead of dragging it from the page. Another option is to use Splunk’s field picker or | fields / | table commands to reference the field name and copy it from the search bar output, where it’s fully visible. It’s not perfect, but it’s a lot less painful than trying to mouse-highlight a truncated field.

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.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...

SOK it to Me: Top 3 Benefits of Using Splunk Operator on Kubernetes that’ll Make ...

    Thursday, July 9, 2026  |  11:00AM–12:00PM PDT Duration: 1 hour (includes Q&A) Managing can feel like a ...