|
When using splunk.Intersplunk.outputResults for even 1 record as a streaming command, I get an extra header with a improperly casted time field that ends up making the search compain about fields coming back in the wrong time order thus throwing an error.
if I turn off streaming, I get:
I've tried using outputheader=true and I get zero results I'm probably doing something dumb, backwards or wrong but I just don't see it yet... |
|
That output looks very strange. I'm unsure about all the settings for your command in command.conf. I'm also unsure what your command is doing with the _time values -- whether it's casting them to a string, for example. This would be putting a bandaid on cancer, but you might want to look at the generates_timeorder and overrides_timeorder settings for your command in commands.conf. this was all in my fast and flustered attempt at getting my first streaming command, and first python code (Yes I've been living under a rock, but only renting), to run before the weekend. I ended up with http://answers.splunk.com/questions/13636/calculate-entropy-just-entropy-not-change-in-entropy-like-associate/13701#13701 I came to the conclusion that I might have been using the functions completely backwards. (bulk for streaming etc)
(14 Apr '11, 16:24)
rshoward
|
