Hi Splunkers,
I've encounter the same problems that i cannot get search results of my custom extracted fields.
I previously investigated this situation and I made a conclusion that those log records were not enough for Splunk to recognize the fields. Sample records and reference information are following.
input record : 20130624090015008SOMEWORDS_A20130624090016009SOMEWORDS_B
Here, I want to extract "20130624090015" as a record's time stamp and "20130624090016" as a field.
So I set parameters in props.conf, transforms.conf properly.But I got no result. In details, reference to following question "How to treat the concecutive numbers event ?".
Cannot search based on an extracted field | Splunk Blogs
http://blogs.splunk.com/2011/10/07/cannot-search-based-on-an-extracted-field/
How to treat the concecutive numbers event ? - Splunk Community
http://splunk-base.splunk.com/answers/92483/how-to-treat-the-concecutive-numbers-event
In Splunk blog, it seems that this problem was solves in Splunk 4.3 and after.
But I got this problem in Splunk 5.0.3 on Linux 64bit.
So I don't know what it means.
Anyway, I think there are three solutions for this problem.
1. Treat as other special fields (like host, source, and so on)
2. Search as "search sourcetype=MyEvents | search Myfield=ValidValue".
3. Specify INDEXED_VALUE = false in props.conf file
Actually, 1 is not recommended by Splunk Inc and I also don't want.
What do you think of 2, 3 ?
Which ways are the best ? Or it was the same in internal procedures of Splunk.
Thank you for your help.
... View more