Refine your search:

I'm creating a custom dashboard and am seeing this unsightly notice. Is there an easy way to disable these? My users do not need to know that the "timerange was subsituted based on your search string."

asked 02 Sep '10, 17:58

the_wolverine's gravatar image

the_wolverine ♦
4.3k5843
accept rate: 50%


3 Answers:

You should be able to suppress it by modifying the filter in the Message module, but I'm not sure how to do it in a targeted way.

This may do what you want, but will suppress too much...

<module name="Message" layoutPanel="messaging">
        <param name="filter">splunk.search.error</param>
        <param name="clearOnJobDispatch">False</param>
        <param name="maxSize">1</param>
</module>

I've been trying to do basically the same thing but haven't seen a good, granular way to exclude a single message.

link

answered 02 Sep '10, 18:14

southeringtonp's gravatar image

southeringtonp ♦
4.5k1215
accept rate: 35%

edited 02 Sep '10, 18:46

Also, just discovered another old post along these lines - http://answers.splunk.com/questions/3123/message-module-filter-values

(03 Sep '10, 01:59) southeringtonp ♦

Good enough for me. Thank you!

(03 Sep '10, 17:47) the_wolverine ♦

I'm lazy, but this will work; sends stderr to stdout and greps it away

/opt/splunk/bin/splunk search 'earliest=-5m' 2>&1|grep -v "INFO: Your timerange was substituted based on your search string"

link

answered 23 Nov '11, 13:07

newaccount's gravatar image

newaccount
11
accept rate: 0%

I had the same thing happen with me when we upgraded to 4.2.2 from 3.4.5. All of my saved searches were created in 3.4.5 and then spat out that "info" line.

I had to edit my saved searches, remove the startXXXago=99 (i.e. starthoursago=24 or startminsago=60) and put the time constraint in the drop down to the left/underneath. I then had to save it to the same query name.

The queries then gave me the answers without the INFO line. I suppose it was because of some kind of weirdness between versions?

link

answered 30 Nov '11, 10:13

wwhitener's gravatar image

wwhitener
11118
accept rate: 28%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×325

Asked: 02 Sep '10, 17:58

Seen: 850 times

Last updated: 30 Nov '11, 10:13

Copyright © 2005-2012 Splunk, Inc. All rights reserved.