Refine your search:

2
1

I have a store field brought in by a scripted lookup. it shows up when i do a search for sourcetype=foo, I can even stats count by store. but I can't search store=bar on the search bar... ?!

I thought that that this only happened for extracted fields where the value is not in the actual event

asked 15 Sep '10, 22:07

mctester's gravatar image

mctester
6523324
accept rate: 75%


2 Answers:

By default, Splunk will expand store=bar into (bar AND store=bar). If bar doesn't exist in your event, the event will not be returned.

If this is because store is an extracted field or lookup-based field, tell Splunk to not search for the text in the event by editing fields.conf:

[store]
INDEXED_VALUE = false
link

answered 15 Sep '10, 22:11

Jason's gravatar image

Jason
2.0k25
accept rate: 49%

Hi,

or just use the therm store::bar

greez christian

link

answered 16 Sep '10, 13:29

Christian's gravatar image

Christian
7316
accept rate: 22%

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:

×1,090
×354

Asked: 15 Sep '10, 22:07

Seen: 965 times

Last updated: 16 Sep '10, 13:29

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