Splunk Basic : Everything to know about macros

Поділитися
Вставка
  • Опубліковано 14 жов 2024
  • In this video I have discussed in detail about splunk macros and their different types.
    you can download the data and query I have used from the below repo:
    github.com/sid...

КОМЕНТАРІ • 18

  • @bharathyogaguru
    @bharathyogaguru Рік тому

    thank you ... also impressed with 7:53 Clovia Lingerie 🤣

  • @vasukadival1237
    @vasukadival1237 5 років тому +1

    Hello Sir,
    Firstly would like to thank u a lot for providing deep insight on a new emerging platform. Never found so much of informative videos about Splunk on any other websites or paid tutorial forums
    My question on this video:
    I have a field with name - Total Profit
    In Search Head I will use this in double quotes, since it has a white space. (table "Total Profit")
    But how do I use the same while defining Macro ?
    I tried with double quotes inside Macro Definition, but it says Invalid argument name, must only contain alphanumeric characters

    • @splunk_ml
      @splunk_ml  5 років тому

      Thank you.. You need to escape the quotes like below,
      \"

    • @vasukadival1237
      @vasukadival1237 5 років тому

      @@splunk_ml
      Tried below:
      Didn't work
      index="practice"
      | table "Total Cost" "Total Profit"
      | `Revenue_Percentage(\"Total Cost\",\"Total Profit\")`

    • @splunk_ml
      @splunk_ml  5 років тому

      Ahh you were talking about sending a field value to splunk macro... It never works... Splunk macro has that limitation.

    • @vasukadival1237
      @vasukadival1237 5 років тому

      @@splunk_ml Oh Ok, thank u so much. :) . So as an alternative i will try renaming the field and pass it as an argument.

    • @splunk_ml
      @splunk_ml  5 років тому

      That won't work either... You can't pass field to splunk macro

  • @krishnapriyadharshini4038
    @krishnapriyadharshini4038 6 років тому +1

    Great video. Very well explained!!

  • @nitinat3590
    @nitinat3590 4 роки тому

    Great explanation! Thank you.

  • @sauravrath5786
    @sauravrath5786 5 років тому +1

    Hey we know each other ...
    First I got u from ur voice then saw ur dp as well ....
    Bdw Very well explained 😊😊

    • @splunk_ml
      @splunk_ml  5 років тому

      Now I am started thinking where we met? Please help me ☺️

    • @splunk_ml
      @splunk_ml  5 років тому

      Ohh I remember you now ☺️

  • @afiyatkhan3319
    @afiyatkhan3319 3 роки тому

    I didn't get the command u r using 'getgenre' can you share the link in which you have explained it?

    • @splunk_ml
      @splunk_ml  3 роки тому

      ua-cam.com/video/sJRTIyZZtbM/v-deo.html
      Here it is.