Products/Services
product
- Why choose Splunk
- Installation record
- price
- Splunk Enterprise Security
- Splunk Phantom (SOAR)
- Splunk ITSI (Next Generation IT Operations)
- Splunk Observability Cloud
- Splunk UBA
- Macnica CSIRT App Basic
- App for Splunk for Financial Institutions
- Splunk Analytics for Hadoop
- About Apps
- Splunk Edge Hub
- What is Splunk
service
- Dashboard/SPL Creation Pack [Implementation/Building Support]
- Version upgrade service [implementation and construction support]
- Smart Security Monitoring App [Original App/Service]
- Splunk × LANSCOPE Original App [Original App/Service]
- Security Monitoring App for Box [Original App/Service]
- Cloud Security Monitoring App [Original App/Service]
- List of services
- Macnica Premium Support for Splunk (utilization support, version upgrade monitoring)
- Macnica Premium Support for Splunk Skill Up Package
Specifications/Technical Information
Specifications/Technical Information
Evaluation machine application/FAQ
Application for evaluation machine
- FAQ
How to truncate/round off decimals when searching
- release date
- 2019-08-06
- last updated
- 2023-12-01
- version
- Splunk Enterprise 9.1.0
- Overview
- By using the eval command, it is possible to truncate/round off numbers below the decimal point. Please use this when rounding down/rounding off statistical results or numbers in logs. To truncate/round off, use the floor and round functions of the eval command.
- Reference information
- content
-
How to truncate decimal places
- function to use
floor() - How to Use
...| eval <field name to put result>=floor(<number or field name to truncate>)
example:
...| eval n=floor(1.9)
* "1" is returned for n.
...| eval XXX=floor(AAA)
*If the value of the AAA field is "1.9", "1" will be returned to the XXX field.
How to round decimal places
- function to use
round() - How to Use
...| eval <field name to put result>=round(<number or field name to round off>)
or
...| eval <field name to put result>=round(<number or field name to be rounded down>, rounding place)
example:
...| eval n=round(3.5)
* "4" is returned for n.
...| eval n=round(2.555, 2)
* "2.56" is returned for n.
...| eval XXX=round(AAA, 2)
*If the AAA field value is "2.555", "2.56" will be returned in the XXX field.
that's all
- function to use
In charge of Macnica Splunk Co., Ltd.
- TEL:045-476-2010
- E-mail:splunk-sales@macnica.co.jp
Weekdays: 9:00-17:00