07. Splunk Tutorial - How to create Reports and Charts in Splunk

Опубликовано: 15 Октябрь 2024
на канале: Sandip M
8,310
34

In this video tutorial we will learn how to create charts and reports using Splunk tool.

----------------------------------------
Reports:
sourcetype=access_* status=200 action=purchase
[ search sourcetype=access_* status=200 action=purchase
| top limit=1 clientip
| table clientip]
| stats count AS "Total Purchased", dc(productId) AS "Total Products", values(productName) AS "Product Names" BY clientip
| rename clientip AS "VIP Customer"

Charts:
sourcetype=access_* status=200
| chart count AS views count(eval(action="addtocart")) AS addtocart count(eval(action="purchase")) AS purchases by productName
| rename productName AS "Product Name", views AS "Views", addtocart AS "Adds to Cart", purchases AS "Purchases"
-------------------------------------------------------

Website: http://guru4technoworld.wix.com/techn...
Facebook :   / a2zoftech  
Website: www.dronatechnoworld.com