Splunk Commands : Detail discussion on commands related to multivalue fields

  Рет қаралды 21,052

Splunk & Machine Learning

Splunk & Machine Learning

Күн бұрын

Пікірлер: 34
@iPYW
@iPYW Жыл бұрын
This video needs MOAR UPVOTES!
@dhanalakshmiprabakaran8508
@dhanalakshmiprabakaran8508 2 жыл бұрын
Your splunk videos helping me a lot. Thankyou so much!
@divyasetia12
@divyasetia12 4 жыл бұрын
Thankyou so much for the efforts that you make to provide such information..keep going😇
@splunk_ml
@splunk_ml 4 жыл бұрын
Thank you 🙏
@amriteshkumar9652
@amriteshkumar9652 5 жыл бұрын
Hi - Couldn't locate any video discussing multisearch..hence posting my query here. I am working on multisearch query which would search for a particular string (let's say for a period of 7 days) during a particular time window (let's between 1 PM to 2 PM). I need the count of all the matched string individually for each day for the given duration....I am using the multisearch along with earliest and latest..but can't get the required result. Your help is much appreciated.
@splunk_ml
@splunk_ml 5 жыл бұрын
Hi Amritesh, Can you send me the search query and some example data through email. It will be easier for me to assist. My id techiesid1985@gmail.com
@prasannam6745
@prasannam6745 4 жыл бұрын
Hi sid, I have two different sourcetypes I am extracting the results to a table i wanted to do union and combine the results. Can you please tell how to do that?
@splunk_ml
@splunk_ml 4 жыл бұрын
index= sourcetype= OR sourcetype= | table
@prasannam6745
@prasannam6745 4 жыл бұрын
@@splunk_ml I have one more question in the splunk alerts can we convert the gmt timestamp to cst timestamp?
@akankshyamohanty563
@akankshyamohanty563 4 жыл бұрын
can you please provide example where multiple multivalue columns are present , becuase the syntac shared in thsi video will work only when 1 multivalue column is present
@splunk_ml
@splunk_ml 4 жыл бұрын
It will be same, you just need to apply those commands on the other set of fields.
@rahulreddy587
@rahulreddy587 4 жыл бұрын
Hi team, if a sub query returns 2 time fields... how can we check min and max from those fields ?
@splunk_ml
@splunk_ml 4 жыл бұрын
Hi Rahul, Can you provide the sample query you are using. An example will be helpful for me. Sid
@rahulreddy587
@rahulreddy587 4 жыл бұрын
Splunk & Machine Learning hi sid, I have a query which returns 4 events, and each event has a time stamp, out of those I want to return time stamps of 2 events, and I my main query I want to find an event between those 2 time stamps...how can I do that? Are u able to get this ?
@splunk_ml
@splunk_ml 4 жыл бұрын
I think using subsearch its possible, it will be something like below, index= earliest=[your second search returning earliest timestamp] latest=[your second search returning latest timestamp] you can refer the subsearch video I created before, kzbin.info/www/bejne/iprafKNjiZpprrM
@vigneshjambaisivanandham8952
@vigneshjambaisivanandham8952 5 жыл бұрын
Hi Bro I have a doubt suppose i have a field with field values like below field="xyz@gmail.com,abc@yahoo.com,abd@outlook.com" How to seprate them based on the mail id they use like gmail,yahoo,outlook without using Regex
@splunk_ml
@splunk_ml 5 жыл бұрын
Can you tell me the desired output? I didn't understood how you want to separate
@vigneshjambaisivanandham8952
@vigneshjambaisivanandham8952 5 жыл бұрын
@@splunk_ml Hi Bro my desire is to get the xyz@gmail.com,abc@yahoo.com seprated based on the domain
@KK-mp8yo
@KK-mp8yo 4 жыл бұрын
Do you provide training??
@kushagrajain6285
@kushagrajain6285 6 жыл бұрын
what does "streamstats count as counter" does?? Also is there any difference in mvcombine and mvappend as both are making multivalue field ?
@splunk_ml
@splunk_ml 6 жыл бұрын
Hi Kushagra, I used "streamstats count as counter" to generate row numbers 1,2,3,4...so that I can apply some logic rowwise while creating the test data. Regarding your second question, mvcombine you can think of as row wise operator where it's grouping (creating mv field) rows where every field value is same except one. mvappend you can think of as column wise operator where it can concatenate multiple fileds as well as strings.
@muhammadsameer5256
@muhammadsameer5256 5 жыл бұрын
Hi sidd, I have two question. 1how to know that we have to use makeresults command or not. 2. what is deference between mvcombine and mvzip. thanks in advance?
@splunk_ml
@splunk_ml 5 жыл бұрын
That depends on scenario... Here I needed some test data that's why I used that command. Makeresults is a event generating command. Regarding your second question...mvcombine creates a multivalue filed from set of events where all the field values are same except the field you mentioned in mvcombine command...mvzip command just creats mv field by stitching several mv fields together, it’s basically column wise operations where mvcombine we can think of row wise operation.
@santhoshig7784
@santhoshig7784 4 жыл бұрын
Hi Sid, thanks for the video . One question. Is there any difference between mvzip and mvappend? I understand that both commands can be used to concatenate multivalue columns together.
@splunk_ml
@splunk_ml 4 жыл бұрын
In fact they are totally different functions, mvappend : This function is generally used to create a mv field from two or more strings or mv field. For example, mvfield1 = val1 val2 val3 mvappend(str1,str2,mvfield1) = str1 str2 val1 val2 val3 mvzip : This function takes two multivalue fields, X and Y, and combines them by stitching together the first value of X with the first value of field Y, then the second with the second, and so on. The third argument, Z, is optional and is used to specify a delimiting character to join the two values. The default delimiter is a comma. For example, mvfield1 = val1 val2 val3 mvfield2 = val4 val5 val6 mvzip(mvfield1, mvfield2) = val1,val4 val2,val5 val3,val6
@santhoshig7784
@santhoshig7784 4 жыл бұрын
@@splunk_ml Thanks so much for the detailed explanation Sid. I tried with example and clear now. Thanks again!
@hemnaathgovartan3668
@hemnaathgovartan3668 6 жыл бұрын
I would like to add the screen shot from the splunk portal, so could let me know how to add that here?
@splunk_ml
@splunk_ml 6 жыл бұрын
I dont think we can add screenshot directly in youtube comment. you can email me at techiesid1985@gmail.com.
@hemnaathgovartan3668
@hemnaathgovartan3668 6 жыл бұрын
thanks for sharing the email id. Let me share the screen short directly to this mail id.
@manasimeherkar9725
@manasimeherkar9725 4 жыл бұрын
This helped me a lot. Thank you fo this tutorial. 👍 I have one issue with my query- how can we sort multiple field values in different output. I have field values like A,B,C,D and I want output as AA for A and for B in table ? Please help.
@splunk_ml
@splunk_ml 4 жыл бұрын
let me understand your question. So you have a mv filed with values A,B,C,D and you want to produce another mv field with values AA,BB,CC,DD?
@hemnaathgovartan3668
@hemnaathgovartan3668 6 жыл бұрын
Hi Siddharth, thanks for the video on multivalue fields, got a doubt what is the difference between dedup and mvdedup ?
@splunk_ml
@splunk_ml 6 жыл бұрын
In simple term dedup work at event level to remove duplicate events...where mvdedup only work on miltivalue field to remove duplicates.
@hemnaathgovartan3668
@hemnaathgovartan3668 6 жыл бұрын
@@splunk_ml thanks for clarifying the doubt.
Splunk Commands : How "transaction" command works
36:46
Splunk & Machine Learning
Рет қаралды 20 М.
Splunk Commands : "join" vs "map" vs "selfjoin" command detail explanation
24:13
Splunk & Machine Learning
Рет қаралды 25 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Splunk Commands : Discussion On "SPATH" command
23:11
Splunk & Machine Learning
Рет қаралды 16 М.
Splunk : Discussion on "Subsearches"
27:58
Splunk & Machine Learning
Рет қаралды 18 М.
Splunk Commands : "fillnull" vs "filldown" command
17:07
Splunk & Machine Learning
Рет қаралды 4,7 М.
Splunk Commands : "append" vs "appendpipe" vs "appendcols" commands detail explanation
26:27
Splunk Commands | Splunk stats | Splunk eventstats
26:39
Splunk Talks
Рет қаралды 14 М.
Minimizing Inefficient Searches in Splunk
7:38
Splunk How-To
Рет қаралды 9 М.
Splunk mv commands | mvexpand and mvcombine | Tech Tonic with Kiran
16:18
Tech Tonic with Kiran
Рет қаралды 248
Splunk Commands : How to extract fields using "xmlkv" & "xpath" command
13:50
Splunk & Machine Learning
Рет қаралды 3 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН