I've seen a lot of join
, transaction
and append
SPLs.
Using timechart
to show percentage of each time, it's hard. but everybody wants to do it.
I think you didn't have to use that SPL.
There is a best practice, but I don't know worst practice
Is there SPL's worst practice? or Can you tell me what's wrong with this way of using it?
Hi @to4kawa,
i didn't find a worst practice guide and I'm agree that it could be useful, especially for the new entries: e.g. all the people that worked with SQL and approach Splunk, start using join command in searches!
Anyway a worst practices is surely the opposite of a best practice, and I didn't find a structured guide neither to this, only some hints in a course that I followed at the beginning.
And in addition, i don't think that someone in Splunk can say that there's a worst practice: it isn't a good marketing approach!
In my experience, I try to avoid some features for performace reasons or symply to have a more readable code, these are the main worst practices I avoid:
Then there's something else, but less important:
Ciao.
Giuseppe
hello @gcusello
I don't like automatic lookups so as not to lose the thread of logic of a search.
About this one worst practice, I understand that this facility has a performance impact but this is always being catered on the intro courses. What alternatives will you recommend should we avoid automatic lookups aside from using | inputlookup
?
Sorry for this question under a comment.
Hi @lloydknight,
I don't use automatic lookups, I prefer to use in searches the lookup command.
my hint is only related to automatic lookups not to lookups.
Ciao.
Giuseppe
I'd say using automatic lookups is good practice.